X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c4f3d1bd32315abdcf057cae586bbf76eb6263b9..3cfcf18a59ecc759a43d24bea8f6be6e374a83bc:/app/assets/javascripts/routing_engines/cloudmade_foot.js?ds=sidebyside diff --git a/app/assets/javascripts/routing_engines/cloudmade_foot.js b/app/assets/javascripts/routing_engines/cloudmade_foot.js index 149ceb31a..5193c6472 100644 --- a/app/assets/javascripts/routing_engines/cloudmade_foot.js +++ b/app/assets/javascripts/routing_engines/cloudmade_foot.js @@ -5,8 +5,18 @@ OSM.RoutingEngines.list.push({ name: 'Foot (CloudMade)', - draggable: true, - getRoute: function(final,points) { + draggable: false, + CM_SPRITE_MAP: { + "C": 1, + "TL": 7, + "TSLL": 8, + "TSHL": 6, + "TR": 3, + "TSLR": 2, + "TSHR": 4, + "TU": 5 + }, // was half expecting to see TLDR in there + getRoute: function(isFinal,points) { var url="http://routes.cloudmade.com/8ee2a50541944fb9bcedded5165f09d9/api/0.3/"; var p=[]; for (var i=0; i