The position (in pixels) from the center of the cluster icon to
where the text label is to be centered and drawn. The format is [yoffset, xoffset]
where yoffset
increases as you go down from center and xoffset
increases to the right of center. The default is [0, 0]
.
The position of the cluster icon image
within the image defined by url
. The format is "xpos ypos"
(the same format as for the CSS background-position
property). You must set
this property appropriately when the image defined by url
represents a sprite
containing multiple images. Note that the position must be specified in px units.
The name of the CSS class defining styles for the cluster markers.
The value of the CSS font-family
property for the label text shown on the cluster icon.
The value of the CSS font-style
property for the label text shown on the cluster icon.
The value of the CSS font-weight
property for the label text shown on the cluster icon.
Height The display height (in pixels) of the cluster icon. Required.
The color of the label text shown on the cluster icon.
The value of the CSS text-decoration
property for the label text shown on the cluster icon.
The line height (in pixels) of the label text shown on the cluster icon.
The size (in pixels) of the label text shown on the cluster icon.
The URL of the cluster icon image file. If not set, img element will not be created
Width The display width (in pixels) of the cluster icon. Required.
Generated using TypeDoc
The anchor position (in pixels) of the cluster icon. This is the spot on the cluster icon that is to be aligned with the cluster position. The format is
[yoffset, xoffset]
whereyoffset
increases as you go down andxoffset
increases to the right of the top-left corner of the icon. The default anchor position is the center of the cluster icon.