X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a3eb48385bcf1465339d473c0c1657e075cd507d..fcae6999d0df503fec0e1dfdc16eb2f273e382ea:/app/assets/javascripts/index/directions_engines/graphhopper.js diff --git a/app/assets/javascripts/index/directions_engines/graphhopper.js b/app/assets/javascripts/index/directions_engines/graphhopper.js index 11d70efc5..8d01bcd16 100644 --- a/app/assets/javascripts/index/directions_engines/graphhopper.js +++ b/app/assets/javascripts/index/directions_engines/graphhopper.js @@ -13,13 +13,13 @@ function GraphHopperEngine(id, vehicleParam) { return { id: id, - creditline: 'Graphhopper', + creditline: 'Graphhopper', draggable: false, getRoute: function (points, callback) { // documentation // https://github.com/graphhopper/graphhopper/blob/master/docs/web/api-doc.md - var url = "http://graphhopper.com/api/1/route?" + var url = "https://graphhopper.com/api/1/route?" + vehicleParam + "&locale=" + I18n.currentLocale() + "&key=LijBPDQGfu7Iiq80w3HzwB4RUDJbMbhs6BU0dEnn"