[openstreetmap/openstreetmap-website] Fixed displacing points specified from context menu (PR #4904)
Nenad Vujicic
notifications at github.com
Sat Jul 20 15:18:22 UTC 2024
@nenad-vujicic commented on this pull request.
> });
- endpoint.setValue = function (value, latlng) {
+ endpoint.setValue = function (value, force_reverse_geocoding, latlng) {
Yes, there is. Reverse geocoding is done when user right-clicks on map and selects "Directions from here" or "Directions to here".
Variable force_reverse_geocoding is introduced to pass information that user did this (right clicked and selected from context menu) and to perform reverse geocoding.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4904#discussion_r1685467239
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4904/review/2190007893 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240720/8082afa2/attachment.htm>
More information about the rails-dev
mailing list