new ClusterIconStyle()
- Source:
Properties:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
url |
string | The URL of the cluster icon image file. Required. |
||
height |
number | The display height (in pixels) of the cluster icon. Required. |
||
width |
number | The display width (in pixels) of the cluster icon. Required. |
||
anchorText |
Array |
<optional> |
The position (in pixels) from the center of the cluster icon to |
|
anchorIcon |
Array |
<optional> |
The anchor position (in pixels) of the cluster icon. This is the |
|
textColor |
string |
<optional> |
"black" | The color of the label text shown on the |
textSize |
number |
<optional> |
11 | The size (in pixels) of the label text shown on the |
textDecoration |
string |
<optional> |
"none" | The value of the CSS |
fontWeight |
string |
<optional> |
"bold" | The value of the CSS |
fontStyle |
string |
<optional> |
"normal" | The value of the CSS |
fontFamily |
string |
<optional> |
"Arial,sans-serif" | The value of the CSS |
backgroundPosition |
string |
<optional> |
"0 0" | The position of the cluster icon image |