EVWaypointMarkerStyle
public struct EVWaypointMarkerStyle
Represents a style configuration for the EV charging station waypoint marker.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializes
EVWaypointMarkerStyle
with the given values.Declaration
Swift
public init( pinImage: MapImage? = Defaults.pinImage, textColor: UIColor = Defaults.textColor, textSize: Double = Defaults.textSize, textFontURI: String = Defaults.textFontURI, textAnchoring: TextAnchoring = Defaults.textAnchoring, textOffset: MarkerLabelOptions.TextOffset = Defaults.textOffset )
Parameters
pinImage
The pin image for the EV charging station waypoint marker. By default,
pinImage
is used.textColor
The color of the label text. By default,
textColor
is used.textSize
The size of the label text. By default,
textSize
is used.textFontURI
The font URI of the label text. By default,
textFontURI
is used.textAnchoring
The anchoring of the label text. By default,
textAnchoring
is used.textOffset
The offset of the label text. By default,
textOffset
is used.
-
The default values for the
See moreEVWaypointMarkerStyle
.Declaration
Swift
public enum Defaults
-
The pin image for the EV charging station waypoint marker.
Declaration
Swift
public let pinImage: MapImage?
-
The color of the label text.
Declaration
Swift
public let textColor: UIColor
-
The size of the label text.
Declaration
Swift
public let textSize: Double
-
The font URI of the label text.
Declaration
Swift
public let textFontURI: String
-
The anchoring of the label text.
Declaration
Swift
public let textAnchoring: TextAnchoring
-
The offset of the label text.
Declaration
Swift
public let textOffset: MarkerLabelOptions.TextOffset