polyline-encoded
Advanced tools
Comparing version 0.0.1 to 0.0.3
{ | ||
"name": "polyline-encoded", | ||
"version": "0.0.1", | ||
"version": "0.0.3", | ||
"description": "Encoding and decoding of Google's polyline encoding format", | ||
"main": "Polyline.encoded.js", | ||
"directories": { | ||
"example": "examples" | ||
"example": "examples", | ||
"test": "test" | ||
}, | ||
@@ -9,0 +10,0 @@ "scripts": { |
@@ -69,2 +69,9 @@ # Support encoded polylines in Leaflet | ||
console.log(polyline.getLatLngs()); | ||
``` | ||
``` | ||
# Node package | ||
You can use `encode()` and `decode()` in your Nodejs scripts: | ||
`npm install polyline-encoded` | ||
And then just `require('polyline-encoded')` |
12003
76