furkot-directions
Advanced tools
Comparing version 0.0.4 to 0.0.5
0.0.5 / 2016-12-23 | ||
================== | ||
* replace polyline-encoded with code42day-google-polyline | ||
0.0.4 / 2016-12-15 | ||
@@ -3,0 +8,0 @@ ================== |
var _defaults = require('lodash.defaults'); | ||
var LatLon = require('geodesy').LatLonSpherical; | ||
var polyline = require('polyline-encoded'); | ||
var polyline = require('code42day-google-polyline'); | ||
@@ -25,8 +25,4 @@ module.exports = { | ||
function reverse(pt) { | ||
return [pt[1], pt[0]]; | ||
} | ||
function decode(poly) { | ||
return poly && polyline.decode(poly).map(reverse); | ||
return poly && polyline.decode(poly); | ||
} | ||
@@ -33,0 +29,0 @@ |
{ | ||
"name": "furkot-directions", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Directions service for Furkot", | ||
@@ -18,2 +18,3 @@ "author": { | ||
"dependencies": { | ||
"code42day-google-polyline": "~2", | ||
"code42day-vis-why": "^1.1.4", | ||
@@ -23,3 +24,2 @@ "geodesy": "^1.1.1", | ||
"lodash.defaults": "^4.2.0", | ||
"polyline-encoded": "^0.0.8", | ||
"run-series": "^1.1.4", | ||
@@ -26,0 +26,0 @@ "run-waterfall": "^1.1.3", |
Sorry, the diff of this file is not supported yet
77086
1033
+ Addedcode42day-google-polyline@~2
+ Addedcode42day-google-polyline@2.0.2(transitive)
- Removedpolyline-encoded@^0.0.8
- Removedpolyline-encoded@0.0.8(transitive)