MarkerClusterSettings

23 Sep 20251 minute to read

Gets or sets the options to customize the cluster of markers in maps.

Properties

allowClusterExpand boolean

Enables or disables the expanding of the clusters when many markers are in same location.

Defaults to false

allowClustering boolean

Enables or disables the visibility of the cluster of markers in the maps.

Defaults to false

allowDeepClustering boolean

Enables or disables intense marker clustering for improved accuracy.
The default value is true, and clustering logic will be executed twice for improved accuracy.
If set to false, the clustering logic will only be executed once, increasing performance while maintaining decent accuracy.

Defaults to true

border BorderModel

Gets or sets the options for customizing the style properties of the border of the clusters in maps.

connectorLineSettings ConnectorLineSettingsModel

Gets or sets the options to customize the connector line which is visible on cluster expand.

dashArray string

Gets or sets the dash array for the marker cluster in maps.

Defaults to ’’

fill string

Gets or sets the fill color of the cluster.

Defaults to ‘#D2691E’

height number

Gets or sets the height of the marker cluster in maps.

Defaults to 12

imageUrl string

Gets or sets the URL path for the marker cluster when the cluster shape is set as image in maps.

Defaults to ’’

labelStyle FontModel

Gets or sets the options to customize the label text in marker cluster.

offset Point

Gets or sets the offset value to position the marker cluster from the intended position in maps.

opacity number

Gets or sets the opacity of the marker cluster.

Defaults to 1

shape MarkerType

Gets or sets shape of the marker cluster.

Defaults to Rectangle

width number

Gets or sets the width of the marker cluster in maps.

Defaults to 12