]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/routing_engines/mapquest_bicycle.js
Add GraphHopper engine (thanks @karussell!)
[rails.git] / app / assets / javascripts / routing_engines / mapquest_bicycle.js
index 5dfe13234954e5957e960b341938dcc4cfa1720b..2f7642de9e72bf625283e79712f26bc95d522d9a 100644 (file)
@@ -7,7 +7,7 @@
 
 OSM.RoutingEngines.list.push({
        name: 'Bicycle (MapQuest Open)',
-       draggable: true,
+       draggable: false,
        _hints: {},
        MQ_SPRITE_MAP: {
                0: 1, // straight
@@ -52,7 +52,6 @@ OSM.RoutingEngines.list.push({
 
                // data.shape.maneuverIndexes links turns to polyline positions
                // data.legs[0].maneuvers is list of turns
-               console.log(data);
                var steps=[];
                var mq=data.route.legs[0].maneuvers;
                for (var i=0; i<mq.length; i++) {