WaypointType

public enum WaypointType : UInt32, CaseIterable, Codable

Defines if the waypoint is a stop over, or a hint for a desired polyline of a route.

  • Stopover mode will cause the route to exactly pass through this point, generating maneuvers and splitting the route into sections. Turns of 180 degrees are generated if necessary.

    Declaration

    Swift

    case stopover
  • Acts as a rough position hint for route calculation on how the route should look like. Does not generate 180 degree turns, nor does it appear in the list of maneuvers. Imprecise inputs such as a map touch location should be represented as a pass through.

    Declaration

    Swift

    case passThrough