RouteShapeFormat
public enum RouteShapeFormat : String, Codable
A RouteShapeFormat
indicates the format of a route or match shape in the raw HTTP response.
-
The route’s shape is delivered in encoded polyline algorithm format with 1×10−5 precision.
This machine-readable format is considerably more compact than
geoJSON
but less precise thanpolyline6
.Declaration
Swift
case polyline
-
The route’s shape is delivered in encoded polyline algorithm format with 1×10−6 precision.
This format is an order of magnitude more precise than
polyline
.Declaration
Swift
case polyline6