]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/routing_engines/mapquest_bicycle.js
Improve error-handling
[rails.git] / app / assets / javascripts / routing_engines / mapquest_bicycle.js
index c7995246ab22466a84aeed019eac1d86c1f26498..5d5ff9ffd49c119bf017982966376235b668bf83 100644 (file)
@@ -60,5 +60,6 @@ OSM.RoutingEngines.list.push({
                        steps.push([L.latLng(s.startPoint.lat, s.startPoint.lng), d, s.narrative, s.distance*1000]);
                }
                router.setItinerary( { steps: steps });
+               return true;
        }
 });