]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/directions/fossgis_valhalla.js
Merge remote-tracking branch 'upstream/pull/4390'
[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) {
         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: {
             }),
             costing: costing,
             directions_options: {