JavaScript/jQuery VectorMap - background

Specifies the properties for the map background.

Type:

Object

The map background is a space on a map that does not contain areas. Within the background configuration object, you can specify colors for the map background and its border.

index.js
  • $('#vectorMap').dxVectorMap({
  • // ...
  • background: {
  • color: "azure",
  • borderColor: "blue",
  • },
  • })

borderColor

Specifies a color for the background border.

Type:

String

Default Value: '#cacaca'

This property supports the following colors:

color

Specifies a color for the background.

Type:

String

Default Value: '#ffffff'

This property supports the following colors: