consistent naming of FOSSGIS routers
This commit is contained in:
parent
613c1ba234
commit
1e33272153
3 changed files with 11 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
|||
// OSRM engine
|
||||
// Doesn't yet support hints
|
||||
|
||||
function OSRMEngine(id, vehicleType) {
|
||||
function FOSSGISOSRMEngine(id, vehicleType) {
|
||||
var cachedHints = [];
|
||||
|
||||
return {
|
||||
|
@ -207,6 +207,6 @@ function OSRMEngine(id, vehicleType) {
|
|||
};
|
||||
}
|
||||
|
||||
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);
|
||||
OSM.Directions.addEngine(new FOSSGISOSRMEngine("fossgis_osrm_car", "car"), true);
|
||||
OSM.Directions.addEngine(new FOSSGISOSRMEngine("fossgis_osrm_bike", "bike"), true);
|
||||
OSM.Directions.addEngine(new FOSSGISOSRMEngine("fossgis_osrm_foot", "foot"), true);
|
|
@ -1,4 +1,4 @@
|
|||
function ValhallaEngine(id, costing) {
|
||||
function FOSSGISValhallaEngine(id, costing) {
|
||||
var INSTR_MAP = [
|
||||
0, // kNone = 0;
|
||||
8, // kStart = 1;
|
||||
|
@ -107,6 +107,6 @@ function ValhallaEngine(id, costing) {
|
|||
};
|
||||
}
|
||||
|
||||
OSM.Directions.addEngine(new ValhallaEngine("valhalla_car", "auto"), true);
|
||||
OSM.Directions.addEngine(new ValhallaEngine("valhalla_bicycle", "bicycle"), true);
|
||||
OSM.Directions.addEngine(new ValhallaEngine("valhalla_foot", "pedestrian"), true);
|
||||
OSM.Directions.addEngine(new FOSSGISValhallaEngine("fossgis_valhalla_car", "auto"), true);
|
||||
OSM.Directions.addEngine(new FOSSGISValhallaEngine("fossgis_valhalla_bicycle", "bicycle"), true);
|
||||
OSM.Directions.addEngine(new FOSSGISValhallaEngine("fossgis_valhalla_foot", "pedestrian"), true);
|
|
@ -2927,9 +2927,9 @@ en:
|
|||
graphhopper_bicycle: "Bicycle (GraphHopper)"
|
||||
graphhopper_car: "Car (GraphHopper)"
|
||||
graphhopper_foot: "Foot (GraphHopper)"
|
||||
valhalla_bicycle: "Bicycle (Valhalla)"
|
||||
valhalla_car: "Car (Valhalla)"
|
||||
valhalla_foot: "Foot (Valhalla)"
|
||||
fossgis_valhalla_bicycle: "Bicycle (Valhalla)"
|
||||
fossgis_valhalla_car: "Car (Valhalla)"
|
||||
fossgis_valhalla_foot: "Foot (Valhalla)"
|
||||
descend: "Descend"
|
||||
directions: "Directions"
|
||||
distance: "Distance"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue