[openstreetmap/openstreetmap-website] Add "Set home location to here" button on context menu (#1868)

Tom Hughes notifications at github.com
Thu May 17 16:56:56 UTC 2018


A nasty side effect of the way you are adding the marker is that it causes the map to pan and zoom which is probably not sensible.

Fixing that isn't going to be trivial though, as it require stashing the marker somewhere that both scripts can find it, or using a custom event or something, rather than faking a click, which was always a pretty nasty thing to to.

-- 
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/1868#issuecomment-389936621
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180517/bb15091a/attachment-0001.html>


More information about the rails-dev mailing list