]> git.openstreetmap.org Git - rails.git/commitdiff
OSRM and Graphhopper support HTTPS
authorRichard Fairhurst <richard@systemeD.net>
Mon, 2 Feb 2015 01:31:08 +0000 (01:31 +0000)
committerRichard Fairhurst <richard@systemeD.net>
Mon, 2 Feb 2015 01:31:08 +0000 (01:31 +0000)
app/assets/javascripts/index/directions/graphhopper.js
app/assets/javascripts/index/directions/osrm.js

index 8d01bcd169dd06c691faf849f9d3e2ab1aab260a..592be075c5f3fdd5d8c1051cd7acb96f046ea552 100644 (file)
@@ -70,5 +70,5 @@ function GraphHopperEngine(id, vehicleParam) {
   };
 }
 
-OSM.Directions.addEngine(GraphHopperEngine("graphhopper_bicycle", "vehicle=bike"), false);
-OSM.Directions.addEngine(GraphHopperEngine("graphhopper_foot", "vehicle=foot"), false);
+OSM.Directions.addEngine(GraphHopperEngine("graphhopper_bicycle", "vehicle=bike"), true);
+OSM.Directions.addEngine(GraphHopperEngine("graphhopper_foot", "vehicle=foot"), true);
index 00ef24d6fb3f8d8ea6c2b5db6e73529e79a7efdf..cc275685843babc6fd72e6be8745b81cab389c82 100644 (file)
@@ -91,4 +91,4 @@ function OSRMEngine() {
   };
 }
 
-OSM.Directions.addEngine(OSRMEngine(), false);
+OSM.Directions.addEngine(OSRMEngine(), true);