Defaults

public enum Defaults

Provides default values for SafetyLocationStyle properties.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Contains the mapping of zoom levels to inner line widths for speed cameras and danger zones.

    Declaration

    Swift

    public static let lineWidth: [WidthScene]
  • Contains the mapping of zoom levels to outer line widths for speed cameras and danger zones.

    Declaration

    Swift

    public static let outlineWidth: [OutlineWidthScene]
  • The color of the inner line surrounding the speed camera zone.

    Declaration

    Swift

    public static let speedCameraLineColor: UIColor
  • The color of the outer line surrounding the speed camera zone.

    Declaration

    Swift

    public static let speedCameraOutlineColor: UIColor
  • The color of the inner line surrounding the danger zone line.

    Declaration

    Swift

    public static let dangerZoneLineColor: UIColor
  • The color of the outer line surrounding the danger zone line.

    Declaration

    Swift

    public static let dangerZoneOutlineColor: UIColor
  • Default value for the visibility of the safety location markers.

    Declaration

    Swift

    public static let areMarkersVisible: Bool
  • A dictionary containing the mapping of SafetyLocationType to SafetyLocationMarkerStyle for displaying different types of safety location markers on the map.

    Declaration

    Swift

    public static let markerStyleByCategory: [SafetyLocation.SafetyLocationType : MarkerStyle]