Polyline encoding and decoding

npm install polyline
3 downloads in the last day
35 downloads in the last week
58 downloads in the last month

Build Status


A simple google-esque polyline implementation in Javascript. Compatible with nodejs (npm install polyline and the browser (copy src/polyline.js)).

Encodes/decodes into lat/lng coordinate pairs. Flip the pairs to be compatible with GeoJSON.


See Also

npm loves you