CounterStyle
public struct CounterStyle
Styling options for a marker cluster which is represented by the marker count as a text.
-
Font color of counter. Default value is white.
Declaration
Swift
public var textColor: UIColor -
Font size of counter. Default value is 20.
Declaration
Swift
public var fontSize: Double -
Anchor of counter in regards to marker cluster image. Default is at the center.
Declaration
Swift
public var textAnchor: Anchor2D -
Maximal number of markers represented as exact number. Values smaller than 2 will be clamped to 2. Default value is 99. When this value is changed, it is recommended to adapt
MapMarkerCluster.CounterStyle.aboveMaxTextaccordingly.Declaration
Swift
public var maxCountNumber: Int32 -
String to display if there are more markers clustered than
MapMarkerCluster.CounterStyle.maxCountNumber. Default value is “+99”.Declaration
Swift
public var aboveMaxText: String