renamed fossgis engine

This commit is contained in:
Christian Beiwinkel 2022-12-16 16:57:14 +01:00
parent 7b72e4f3c3
commit 9389a7698a

View file

@ -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: "<a href=\"https://routing.openstreetmap.de/about.html\" target=\"_blank\">FOSSGIS Routing Service</a>",
creditline: "<a href=\"https://routing.openstreetmap.de/about.html\" target=\"_blank\">OSRM (FOSSGIS)</a>",
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);