X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7b72e4f3c386c930352ad82b4459ef6ffdf9c4c6:/app/assets/javascripts/index/directions/fossgis.js..9389a7698a5c44a5ec7796fdb24bd6eee3dbd0d6:/app/assets/javascripts/index/directions/osrm.js
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);