WebglClusterStyle
Cluster style for MapGL Marker
number[]
The position of the "tip" of the icon (relative to its top left corner). The icon will be aligned so that this point is at the cluster's geographical location. Centered by default if anchor is not specified and custom icon is provided.
number[]
Cluster icon anchor in hovered state.
undefined
string
Cluster icon URL in hovered state.
number[]
Cluster icon size [width, height]
in hovered state in pixels.
undefined
string
Cluster icon URL.
number[]
The offset distance of text box from its relativeAnchor
.
Positive values indicate left and up, while negative values indicate right and down.
DEPRECATED! Will be removed in the next major release, use the offset
option instead.
undefined
string
Label's text color of a cluster in CSS hexadecimal RGB format (e.g. #ff0000
).
undefined
number
Label's text font size of a cluster.
undefined
string
Label's text background color of a cluster in CSS hexadecimal RGB format (e.g. #ff0000
).
undefined
number
Label's text background radius of a cluster. The background is set for each letter of the text.
undefined
number
Label's text letter spacing of a cluster.
number[]
The offset distance of text box from its relativeAnchor
.
Positive values indicate right and down, while negative values indicate left and up.
number[]
The relative, from 0 to 1 in each dimension, coordinates of the text box "tip". relative to its top left corner, for example:
[0, 0] value is the top left corner, [0.5, 0.5] — center point, and [1, 1] is the bottom right corner of the box.
The label will be placed so that this point is at geographical coordinates
respects the absolute offset
.
undefined
string
Label's text of a cluster. By default, it's the size of the cluster.
number[]
Cluster icon size [width, height]
in pixels.
undefined
"webgl"
undefined
number
Draw Order