MapMarkerCluster.WithCounter constructor
- MapMarkerClusterImageStyle imageStyle,
- MapMarkerClusterCounterStyle counterStyle
Creates a new instance of a map marker cluster which is represented as an image along with a counter showing how many markers are actually grouped under particular cluster icon.
Any modification to imageStyle or counterStyle after creation of MapMarkerCluster does not have any effect.
-
imageStyleDescribes the visual appearance of cluster icon. -
counterStyleDescribes the appearance of marker count label.
Implementation
factory MapMarkerCluster.WithCounter(MapMarkerClusterImageStyle imageStyle, MapMarkerClusterCounterStyle counterStyle) => $prototype.WithCounter(imageStyle, counterStyle);