Table of Contents

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 = 1

Google'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 = 2

GeoJSON LineString representation.

[EnumMember(Value = "POLYLINE_ENCODING_UNSPECIFIED")] Unspecified = 0

Unspecified; the API uses EncodedPolyline.