X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/161ce947c3b753f68f5c6b27fea369d2e2b8c7ea..93d94bb1f9d27d20a4f05ecf3a9aa1296a84e5fb:/app/assets/javascripts/index/directions.js diff --git a/app/assets/javascripts/index/directions.js b/app/assets/javascripts/index/directions.js index 165d57f40..c0aed706c 100644 --- a/app/assets/javascripts/index/directions.js +++ b/app/assets/javascripts/index/directions.js @@ -123,7 +123,7 @@ OSM.Directions = function (map) { OSM.router.route("/directions?" + querystring.stringify({ from: $("#route_to").val(), to: $("#route_from").val(), - route: from.lat + "," + from.lng + ";" + to.lat + "," + to.lng + route: to.lat + "," + to.lng + ";" + from.lat + "," + from.lng })); });