Don't show http-only routers to users on https

This commit is contained in:
Richard Fairhurst 2014-03-10 18:02:28 +00:00
parent 9d8ab7dbd1
commit 23ffdadb56
4 changed files with 11 additions and 8 deletions

View file

@ -59,5 +59,5 @@ GraphHopperEngine.prototype.createConfig = function() {
};
};
OSM.RoutingEngines.list.push(new GraphHopperEngine("Bicycle", "vehicle=bike").createConfig());
OSM.RoutingEngines.list.push(new GraphHopperEngine("Foot", "vehicle=foot").createConfig());
OSM.RoutingEngines.add(false, new GraphHopperEngine("Bicycle", "vehicle=bike").createConfig());
OSM.RoutingEngines.add(false, new GraphHopperEngine("Foot", "vehicle=foot").createConfig());