X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3c771a7844fe6d8536eae0a8c9f544059b7eb001..359d030a5b19de5e28460d5c9b2d0e1a59ed2fd3:/app/assets/javascripts/index/directions/mapzen.js diff --git a/app/assets/javascripts/index/directions/mapzen.js b/app/assets/javascripts/index/directions/mapzen.js index 02f0f4188..348cb99c9 100644 --- a/app/assets/javascripts/index/directions/mapzen.js +++ b/app/assets/javascripts/index/directions/mapzen.js @@ -28,7 +28,7 @@ function MapzenEngine(id, costing) { 1, // kMerge = 25; 11, // kRoundaboutEnter = 26; 12, // kRoundaboutExit = 27; - 1, // kFerryEnter = 28; + 18, // kFerryEnter = 28; 1 // kFerryExit = 29; ]; @@ -39,7 +39,7 @@ function MapzenEngine(id, costing) { getRoute: function (points, callback) { return $.ajax({ - url: document.location.protocol + "//valhalla.mapzen.com/route", + url: document.location.protocol + OSM.MAPZEN_VALHALLA_URL, data: { api_key: OSM.MAPZEN_VALHALLA_KEY, json: JSON.stringify({