MapMarkerCluster.WithCounter constructor

MapMarkerCluster.WithCounter(
  1. MapMarkerClusterImageStyle imageStyle,
  2. 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.

  • imageStyle Describes the visual appearance of cluster icon.

  • counterStyle Describes the appearance of marker count label.

Implementation

factory MapMarkerCluster.WithCounter(MapMarkerClusterImageStyle imageStyle, MapMarkerClusterCounterStyle counterStyle) => $prototype.WithCounter(imageStyle, counterStyle);