Google Encoded Polyline Algorithm Format


Encode and decode the Google Encoded Polyline Algorithm Format.
See the documentation here:


Mostly a translation of (itself a modest translation (i.g no GeoJSON wrapper, etc.) of other well known available implementations such as Node.js Mapbox one).

See Also

encodePolyline, decodePolyline.

Questions? Problems? Suggestions? or email at

All documentation is copyright its authors; we didn't write any of that.