# PolylineEncoding

Specifies the preferred type of polyline to be returned.

| Enums ||
|---|---|
| `POLYLINE_ENCODING_UNSPECIFIED` | No polyline type preference specified. Defaults to `ENCODED_POLYLINE`. |
| `ENCODED_POLYLINE` | Specifies a polyline encoded using the [polyline encoding algorithm](https://developers.google.com/maps/documentation/utilities/polylinealgorithm). |
| `GEO_JSON_LINESTRING` | Specifies a polyline using the [GeoJSON LineString format](https://tools.ietf.org/html/rfc7946#section-3.1.4). |