]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/directions/fossgis_valhalla.js
Use 5 meter radius for input locations in Valhalla
[rails.git] / app / assets / javascripts / index / directions / fossgis_valhalla.js
index 0bf6a3a8d169813f869bf6dbc2050ed86914e8a1..d44dbd12b80a1b59cae19cea44c6336ecc2108bb 100644 (file)
@@ -53,7 +53,7 @@ function FOSSGISValhallaEngine(id, costing) {
         data: {
           json: JSON.stringify({
             locations: points.map(function (p) {
-              return { lat: p.lat, lon: p.lng };
+              return { lat: p.lat, lon: p.lng, radius: 5 };
             }),
             costing: costing,
             directions_options: {