[openstreetmap/openstreetmap-website] Remove query result geometry when unloading the page (PR #3780)

Anton Khorev notifications at github.com
Mon Oct 31 23:19:55 UTC 2022


Fixes this:

1. use "query features" tool to get nearby/enclosing features lists in the sidebar
2. type some search query in search box above the sidebar but don't press enter yet
3. hover the pointer over one of nearby/enclosing features list items to see it appear on the map
4. press enter to run the search
5. notice that the hovered feature stays on the map

Possibly related to https://github.com/openstreetmap/openstreetmap-website/issues/2082.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Remove query result geometry when unloading the page

-- File Changes --

    M app/assets/javascripts/index/query.js (25)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list