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 destination marker.

    Declaration

    Swift

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

    Declaration

    Swift

    public static let waypointsMarkerImage: UIImage?
  • Default visibility of waypoints.

    Declaration

    Swift

    public static let areWaypointsVisible: Bool
  • Default color of an unreachable route segment.

    Declaration

    Swift

    public static let unreachableColor: UIColor
  • Default pin image for an end-of-range marker.

    Declaration

    Swift

    public static let endOfRangeMarkerImage: UIImage?