Type

public enum RouteSection.`Type`

Describes special road conditions for the route segment. Each type has its respective range, and within that range, the road is under special road conditions, i.e., a tunnel, or a non-drivable type, which is later used as configuration for the route that is drawn on the map, and is drawn differently than the rest of the route.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Segment of the route that lies in a tunnel.

    Declaration

    Swift

    case tunnel
  • Non drivable segment of the route.

    Declaration

    Swift

    case nonDrivable