RouteShapeFormat

public enum RouteShapeFormat: UInt, CustomStringConvertible

A RouteShapeFormat indicates the format of a route’s shape in the raw HTTP response.

  • The route’s shape is delivered in GeoJSON format.

    This standard format is human-readable and can be parsed straightforwardly, but it is far more verbose than polyline.

    Declaration

    Swift

    case geoJSON