Do not simplify routes (they are way too simple) (#24)

pull/54/merge
Candid Dauth 2016-11-01 20:18:39 +03:00
rodzic 4ca1a803e6
commit 2f01085c55
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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);
});
},