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.-
Creates a new
EVWaypointMarkerStyle
with given parameters.Declaration
Swift
public init( pinImage: UIImage? = Defaults.pinImage, textColor: UIColor = Defaults.textColor, textSize: Double = Defaults.textSize, fontURL: URL = Defaults.fontURL, textAnchoring: TextAnchoring = Defaults.textAnchoring, textOffset: MarkerLabelOptions.TextOffset = Defaults.textOffset )
Parameters
pinImage
The pin image for the EV charging station waypoint marker.
textColor
The color of the label text.
textSize
The size of the label text.
fontURL
The font URI of the label text.
textAnchoring
The anchoring of the label text.
textOffset
The offset of the label text.
-
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: UIImage?
-
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 fontURL: URL
-
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