[openstreetmap/openstreetmap-website] Include car profile for GraphHopper routing (#1547)
Tom Hughes
notifications at github.com
Wed May 24 19:46:46 UTC 2017
tomhughes 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);
Well I would have thought that if needed to be disabled for the car profile then that should be something the server did automatically as part of the profile rather than forcing the client to deal with implementation details...
--
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_r118347215
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170524/b4e0a662/attachment.html>
More information about the rails-dev
mailing list