[openstreetmap/openstreetmap-website] Include car profile for GraphHopper routing (#1547)

Peter notifications at github.com
Wed May 24 19:48:06 UTC 2017


karussell commented on this pull request.



> @@ -79,5 +80,6 @@ function GraphHopperEngine(id, vehicleType) {
   };
 }
 
-OSM.Directions.addEngine(new GraphHopperEngine("graphhopper_bicycle", "bike"), true);
-OSM.Directions.addEngine(new GraphHopperEngine("graphhopper_foot", "foot"), true);
+OSM.Directions.addEngine(new GraphHopperEngine("graphhopper_car", "car", true), true);

This is true but we have to enable CH for backward compatibility reasons for now

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1547#discussion_r118347629
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170524/f007f57f/attachment.html>


More information about the rails-dev mailing list