kopia lustrzana https://github.com/FacilMap/facilmap
Do not simplify routes (they are way too simple) (#24)
rodzic
4ca1a803e6
commit
2f01085c55
|
@ -423,7 +423,7 @@ utils.extend(SocketConnection.prototype, {
|
|||
if(!utils.stripObject(data, { destinations: [ { lat: "number", lon: "number" } ], mode: "string" }))
|
||||
throw "Invalid parameters.";
|
||||
|
||||
return routing.calculateRouting(data.destinations, data.mode, true);
|
||||
return routing.calculateRouting(data.destinations, data.mode, false);
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue