X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/81ebdee1852bae569d0ee82233578155f10d1bfb..bf895a0332242df4189b507e647d0aa4ce4a5a04:/app/assets/javascripts/routing_engines/cloudmade_foot.js
diff --git a/app/assets/javascripts/routing_engines/cloudmade_foot.js b/app/assets/javascripts/routing_engines/cloudmade_foot.js
index a2b7bbc9a..bee9e448a 100644
--- a/app/assets/javascripts/routing_engines/cloudmade_foot.js
+++ b/app/assets/javascripts/routing_engines/cloudmade_foot.js
@@ -4,8 +4,9 @@
// http://cloudmade.com/documentation/routing
OSM.RoutingEngines.list.push({
- name: 'Foot (CloudMade)',
- draggable: true,
+ name: "javascripts.directions.engines.cloudmade_foot",
+ creditline: 'Directions courtesy of Cloudmade',
+ draggable: false,
CM_SPRITE_MAP: {
"C": 1,
"TL": 7,
@@ -16,7 +17,7 @@ OSM.RoutingEngines.list.push({
"TSHR": 4,
"TU": 5
}, // was half expecting to see TLDR in there
- getRoute: function(final,points) {
+ getRoute: function(isFinal,points) {
var url="http://routes.cloudmade.com/8ee2a50541944fb9bcedded5165f09d9/api/0.3/";
var p=[];
for (var i=0; i