GLRoutePointType

Objective-C

enum GLRoutePointType : uint8_t {}

Swift

@frozen enum GLRoutePointType : UInt8, @unchecked Sendable

Route point types to describe the behavior of navigation waypoints. More details at: https://valhalla.github.io/valhalla/api/turn-by-turn/api-reference/#locations

  • A break is a location at which we allows u-turns and generate legs and arrival/departure maneuvers.

    Declaration

    Objective-C

    GLRoutePointType_Break = 0

    Swift

    case `break` = 0
  • A through location is a location at which we neither allow u-turns nor generate legs or arrival/departure maneuvers.

    Declaration

    Objective-C

    GLRoutePointType_Through

    Swift

    case through = 1
  • A via location is a location at which we allow u-turns but do not generate legs or arrival/departure maneuvers.

    Declaration

    Objective-C

    GLRoutePointType_Via

    Swift

    case via = 2
  • A break_through location is a location at which we do not allow u-turns but do generate legs and arrival/departure maneuvers.

    Declaration

    Objective-C

    GLRoutePointType_BreakThrough

    Swift

    case breakThrough = 3