From: Christian Beiwinkel Date: Fri, 16 Dec 2022 15:57:14 +0000 (+0100) Subject: renamed fossgis engine X-Git-Tag: live~1581^2~3 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/9389a7698a5c44a5ec7796fdb24bd6eee3dbd0d6 renamed fossgis engine --- diff --git a/app/assets/javascripts/index/directions/fossgis.js b/app/assets/javascripts/index/directions/osrm.js similarity index 95% rename from app/assets/javascripts/index/directions/fossgis.js rename to app/assets/javascripts/index/directions/osrm.js index 8e5e8e621..280e66a80 100644 --- a/app/assets/javascripts/index/directions/fossgis.js +++ b/app/assets/javascripts/index/directions/osrm.js @@ -1,12 +1,12 @@ -// FOSSGIS engine (OSRM based) +// OSRM engine // Doesn't yet support hints -function FOSSGISEngine(id, vehicleType) { +function OSRMEngine(id, vehicleType) { var cachedHints = []; return { id: id, - creditline: "FOSSGIS Routing Service", + creditline: "OSRM (FOSSGIS)", draggable: true, _transformSteps: function (input_steps, line) { @@ -207,7 +207,6 @@ function FOSSGISEngine(id, vehicleType) { }; } -OSM.Directions.addEngine(new FOSSGISEngine("fossgis_osrm_car", "car"), true); -OSM.Directions.addEngine(new FOSSGISEngine("fossgis_osrm_bike", "bike"), true); -OSM.Directions.addEngine(new FOSSGISEngine("fossgis_osrm_foot", "foot"), true); - +OSM.Directions.addEngine(new OSRMEngine("fossgis_osrm_car", "car"), true); +OSM.Directions.addEngine(new OSRMEngine("fossgis_osrm_bike", "bike"), true); +OSM.Directions.addEngine(new OSRMEngine("fossgis_osrm_foot", "foot"), true);