polyline

Polyline encoding and decoding

npm install polyline
8 downloads in the last day
47 downloads in the last week
79 downloads in the last month

Build Status

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. Flip the pairs to be compatible with GeoJSON.

Documentation

See Also

npm loves you