All docs
V24.2
24.2
24.1
23.2
23.1
22.2
22.1
21.2
21.1
20.2
20.1
The page you are viewing does not exist in version 20.1.
19.2
The page you are viewing does not exist in version 19.2.
19.1
The page you are viewing does not exist in version 19.1.
18.2
The page you are viewing does not exist in version 18.2.
18.1
The page you are viewing does not exist in version 18.1.
17.2
The page you are viewing does not exist in version 17.2.
Box
Map

JavaScript/jQuery VectorMap - commonAnnotationSettings.shadow

Configures the annotation's shadows.

Type:

Object

blur

Specifies the blur distance of the shadows. A larger value increases the blur distance.

Type:

Number

Default Value: 4

color

Colors the annotation's shadows.

Type:

String

Default Value: '#000000'

This property supports the following colors:

offsetX

Moves the shadows horizontally.

Type:

Number

Default Value: 0

The number assigned to this property specifies the shift in pixels. A negative number shifts the shadows to the left and a positive number shifts them to the right.

offsetY

Moves the shadows vertically.

Type:

Number

Default Value: 1

The number assigned to this property specifies the shift in pixels. A negative number shifts the shadows up and a positive number shifts them down.

opacity

Specifies the opacity of the shadows.

Type:

Number

Default Value: 0.15

This property accepts a value from 0 to 1: 0 makes the shadows transparent; 1 makes them opaque.