
Implements Google's encoded polyline algorithm format. Encodes from / decodes into [lat, lng] coordinate pairs. Can also encode a GeoJSON object to a GeoJSON LineString, and vice-versa. Based on / compatible with Google's mapbox.
See also: <https://developers.google.com/maps/documentation/utilities/p- olylinealgorithm>