Defaults

public enum Defaults

Contains default styling properties for route visualization.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Default color of the active route line.

    Declaration

    Swift

    public static let activeLineColor: UIColor
  • Default color of the alternative route lines.

    Declaration

    Swift

    public static let alternativeLineColor: UIColor
  • Default widths (width per zoom level) of the active route.

    Declaration

    Swift

    public static let activeLineWidths: [Double : Double]
  • Default widths (width per zoom level) of the alternative routes.

    Declaration

    Swift

    public static let alternativeLineWidths: [Double : Double]
  • Default outline widths (width per zoom level) of the active route.

    Declaration

    Swift

    public static let activeOutlineWidths: [Double : Double]
  • Default outline widths (width per zoom level) of the alternative routes.

    Declaration

    Swift

    public static let alternativeOutlineWidths: [Double : Double]
  • Default image for the departure marker.

    Declaration

    Swift

    public static let departureMarkerImage: UIImage
  • Default image for the destination marker.

    Declaration

    Swift

    public static let destinationMarkerImage: UIImage
  • Default image for the unreachable destination marker.

    Declaration

    Swift

    public static let unreachableDestinationMarkerImage: UIImage
  • Default image for the waypoint marker. If it is not set, the default marker is used.

    Declaration

    Swift

    public static let waypointsMarkerImage: MapImage
  • The default image for the waypoint marker when it’s outside of the reachable distance offset.

    Declaration

    Swift

    public static let unreachableWaypointsMarkerImage: MapImage
  • Default visibility of waypoints.

    Declaration

    Swift

    public static let areWaypointsVisible: Bool
  • The default value of the departure marker visibility.

    Declaration

    Swift

    public static let isDepartureMarkerVisible: Bool
  • The default value of the destination marker visibility.

    Declaration

    Swift

    public static let isDestinationMarkerVisible: Bool