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.The default values for the EVWaypointMarkerStyle
.
Declaration
Swift
public enum Defaults
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, |
textColor
|
The color of the label text. By default, |
textSize
|
The size of the label text. By default, |
textFontURI
|
The font URI of the label text. By default, |
textAnchoring
|
The anchoring of the label text. By default, |
textOffset
|
The offset of the label text. By default, |
The pin image for the EV charging station waypoint marker.
Declaration
Swift
public let pinImage: MapImage?
The anchoring of the label text.
Declaration
Swift
public let textAnchoring: TextAnchoring
The color of the label text.
Declaration
Swift
public let textColor: UIColor
The font URI of the label text.
Declaration
Swift
public let textFontURI: String
The offset of the label text.
Declaration
Swift
public let textOffset: MarkerLabelOptions.TextOffset
The size of the label text.
Declaration
Swift
public let textSize: Double