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.

    See more

    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, 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 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