Enum PolylineEncoding
- Namespace
- GoogleMapsApi.Entities.Routes.Request
- Assembly
- GoogleMapsApi.dll
Wire format of the polyline returned for each route.
public enum PolylineEncoding
Fields
[EnumMember(Value = "ENCODED_POLYLINE")] EncodedPolyline = 1Google's encoded polyline algorithm — same compact string format the legacy Directions API returns. Reusable with the library's existing polyline decoder.
[EnumMember(Value = "GEO_JSON_LINESTRING")] GeoJsonLineString = 2GeoJSON LineString representation.
[EnumMember(Value = "POLYLINE_ENCODING_UNSPECIFIED")] Unspecified = 0Unspecified; the API uses EncodedPolyline.