[openstreetmap/openstreetmap-website] Add missing graphhopper icons (PR #4892)

Anton Khorev notifications at github.com
Wed Jun 12 14:46:39 UTC 2024


GraphHopper's routing icon map is missing some entries that are [possible in the results](https://docs.graphhopper.com/#operation/getRoute!c=200&path=paths/instructions/sign&t=response). They are represented as a straight arrow because this icon is at offset zero in the routing sprite svg.
![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/d77432db-c63b-43f8-8c88-7fc17d12a0d0)


[Keep left/right](https://www.openstreetmap.org/directions?engine=graphhopper_car&route=53.2390%2C14.0022%3B53.3071%2C13.9935) before/after:

![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/53e1c0e0-7265-43f4-badd-06a887cc8b7a) ![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/3c555410-04b8-4ee8-a413-bdcd7c4928c9)

[U-turn](https://www.openstreetmap.org/directions?engine=graphhopper_car&route=59.92761%2C30.29539%3B59.92773%2C30.29552#map=19/59.92750/30.29566) before/after:

![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/d7c70ebf-5a40-459a-9604-1bd9babebb4e) ![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/d2e02558-34e9-41c5-a6bf-c3e01eb90728)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4892

-- Commit Summary --

  * Show fork icons for GraphHopper keep right/left instructions
  * Show u-turn icons for GraphHopper u-turn instructions

-- File Changes --

    M app/assets/javascripts/index/directions/graphhopper.js (7)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4892.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4892.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4892
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4892 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240612/28b5c3ea/attachment.htm>


More information about the rails-dev mailing list