legGeometryFormat
Specifies the format of the geometry returned for each leg of the route. You can choose between two different geometry encoding formats.
FlexiblePolyline
: A compact and precise encoding format for the leg geometry. For more information on the format, see the GitHub repository for FlexiblePolyline
.
Simple
: A less compact encoding, which is easier to decode but may be less precise and result in larger payloads.