kopia lustrzana https://github.com/FacilMap/facilmap
Fix error due to Mapbox directions API change (fixes #56)
rodzic
fef2bb56e9
commit
9aecbad227
|
@ -30,7 +30,6 @@ function calculateRouting(points, mode, simple) {
|
||||||
+ "&steps=false"
|
+ "&steps=false"
|
||||||
+ "&geometries=geojson"
|
+ "&geometries=geojson"
|
||||||
+ "&overview=" + (simple ? "simplified" : "full")
|
+ "&overview=" + (simple ? "simplified" : "full")
|
||||||
+ "&annotations=false"
|
|
||||||
+ "&access_token=" + encodeURIComponent(ACCESS_TOKEN);
|
+ "&access_token=" + encodeURIComponent(ACCESS_TOKEN);
|
||||||
|
|
||||||
return request.get({
|
return request.get({
|
||||||
|
|
Ładowanie…
Reference in New Issue