Structures

The following structures are available globally.

SafetyLocationStyle

  • Defines the appearance and behavior of the safety location visualization on the route.

    Important

    Currently supported safety location types are:
    • SafetyLocation/SafetyLocationType/speedEnforcement
    • SafetyLocation/SafetyLocationType/averageSpeed
    • SafetyLocation/SafetyLocationType/mobileRiskZone
    • SafetyLocation/SafetyLocationType/trafficLight
    • SafetyLocation/SafetyLocationType/mobile
    • SafetyLocation/SafetyLocationType/fixedDangerZone
    • SafetyLocation/SafetyLocationType/blackSpot

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct SafetyLocationStyle
  • Represents a style configuration for the elements of the routing visualization. When no arguments are provided to the constructor, it constructs the default style configuration.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public struct StyleConfiguration