@wemap/routers 10.0.0 → 10.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "directory": "packages/routers"
12
12
  },
13
13
  "name": "@wemap/routers",
14
- "version": "10.0.0",
14
+ "version": "10.2.4",
15
15
  "bugs": {
16
16
  "url": "https://github.com/wemap/wemap-modules-js/issues"
17
17
  },
@@ -29,10 +29,10 @@
29
29
  "@turf/boolean-point-in-polygon": "^6.5.0",
30
30
  "@turf/convex": "^6.5.0",
31
31
  "@turf/helpers": "^6.5.0",
32
- "@wemap/geo": "^10.0.0",
32
+ "@wemap/geo": "^10.1.0",
33
33
  "@wemap/logger": "^10.0.0",
34
34
  "@wemap/maths": "^10.0.0",
35
- "@wemap/osm": "^10.0.0"
35
+ "@wemap/osm": "^10.1.0"
36
36
  },
37
- "gitHead": "dabdfdf7dbb6dcdf507ec148160ef228457b0519"
37
+ "gitHead": "cc5c24ff201691d8fc3129c62de0c8b42740c9cd"
38
38
  }
@@ -215,7 +215,7 @@ class CitywayRemoteRouter extends RemoteRouter {
215
215
  stepCoords = [leg.from.coords, leg.to.coords];
216
216
  }
217
217
  step.coords = stepCoords[0];
218
- step._idCoordsInLeg = leg.coords.length;
218
+ step._idCoordsInLeg = leg.coords.length - 1;
219
219
  stepCoords.forEach((coords, idx) => {
220
220
  if (
221
221
  idx !== 0