[openstreetmap/openstreetmap-website] Edit button: Include marker coordinates with URL (Issue #3976)
Anton Khorev
notifications at github.com
Fri Mar 24 01:37:00 UTC 2023
> How about just the ones that were in the URL bar to start with?
You want `mlat` and `mlon` to be included in addition to the "current object" (osm element/changeset/note).
> Then nobody could blame anybody for just carrying them along!
They are not carried along because neither iD nor any remote control capable editor understands them.
Share link is generated here:
https://github.com/openstreetmap/openstreetmap-website/blob/2ca1576e9a1bc5863be14d98bd9f5bf99b280d0d/app/assets/javascripts/leaflet.map.js#L127
Edit link is written here:
https://github.com/openstreetmap/openstreetmap-website/blob/2ca1576e9a1bc5863be14d98bd9f5bf99b280d0d/app/assets/javascripts/application.js#L26
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3976#issuecomment-1482132058
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/3976/1482132058 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230323/ca1de8e0/attachment.htm>
More information about the rails-dev
mailing list