Defaults

public enum Defaults

Contains default styling properties for route traffic visualization.

Public

  • Default style assets used in traffic visualization.

    See more

    Declaration

    Swift

    public enum Asset
  • A dictionary that defines line widths for each zoom level.

    Declaration

    Swift

    public static let lineWidths: [Double : Double]
  • A dictionary that defines outline widths for each zoom level.

    Declaration

    Swift

    public static let outlineWidths: [Double : Double]
  • The type of line cap to use at the beginning of lines.

    Declaration

    Swift

    public static let lineStartCapType: LineCapType
  • The type of line cap to use at the end of lines.

    Declaration

    Swift

    public static let lineEndCapType: LineCapType
  • The type of line join to use when connecting line segments.

    Declaration

    Swift

    public static let lineJointType: LineJoinType
  • A dictionary that defines marker visibility for each traffic incident category.

    Declaration

    Swift

    public static let markerVisibilityByCategory: [TrafficIncidentCategory : MarkerVisibility]
  • A dictionary that defines styles for each magnitude of delay.

    Declaration

    Swift

    public static let magnitudeOfDelayStyles: [MagnitudeOfDelayKey : MagnitudeOfDelayStyle]
  • A dictionary that defines line pattern display for each magnitude of delay.

    Declaration

    Swift

    public static let linePatternDisplayForDelay: [MagnitudeOfDelayKey : LinePatternDisplay]
  • A range that defines marker visibility for all zoom levels.

    Declaration

    Swift

    public static let markerVisibilityAllZooms: ClosedRange<Double>
  • A range that defines marker visibility for all tilt angles.

    Declaration

    Swift

    public static let markerVisibilityAllTilts: ClosedRange<Double>
  • The font size of the marker label text.

    Declaration

    Swift

    public static let markerLabelTextSize: Double
  • The outline width of the marker label text.

    Declaration

    Swift

    public static let markerLabelOutlineWidth: Double
  • The offset of the marker label text from its default position.

    Declaration

    Swift

    public static let markerLabelTextOffset: MarkerLabelOptions.TextOffset
  • The text anchoring for the marker label text.

    Declaration

    Swift

    public static let markerLabelTextAnchoring: TextAnchoring
  • The full range of zoom levels.

    Declaration

    Swift

    public static let fullZoomRange: ClosedRange<Double>