mapbox/polyline · GitHub
▻https://github.com/mapbox/polyline
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. Use fromGeoJSON() to encode from #geojson objects.