[openstreetmap/openstreetmap-website] Fossgis OSRM server support (#2063)

Simon Poole notifications at github.com
Thu Jan 10 19:09:41 UTC 2019


simonpoole commented on this pull request.



> @@ -119,9 +119,9 @@ function OSRMEngine() {
           namedRoad = false;
         }
 
-        if (step.maneuver.type.match(/^exit (rotary|roundabout)$/)) {
+        if (step.maneuver.type.match(/exit (rotary|roundabout)/)) {

No reason, because it is simply bitrot: the code is based on an old version, pre this commit https://github.com/openstreetmap/openstreetmap-website/commit/e9abea3dd79a11a6d756a9e3748ee6cc75911a10 of the file. I'll give bring the code up to the equivalent state.

-- 
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/2063#discussion_r246885134
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190110/d05d317c/attachment.html>


More information about the rails-dev mailing list