]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Simplify usage, fix closures
[rails.git] / app / assets / javascripts / index.js
index 9ddac98a35d5245ddc6921149fc5dc146a37ae2f..7369c0fb4c928fb3186570fea2df931a7fc03ccf 100644 (file)
@@ -349,7 +349,6 @@ $(document).ready(function () {
   });
 
   OSM.routing = OSM.Routing(map,'OSM.routing',$('.query_wrapper.routing'));
-  OSM.routing.addEngines(OSM.RoutingEngines.list);
   OSM.routing.chooseEngine('Car (OSRM)');
 
   $(".get_directions").on("click",function(e) {