Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

"add a note": Show popup on hover #4876

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Open

"add a note": Show popup on hover #4876

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: malenki
[Submitted to the original trac issue database at 3.01am, Sunday, 9th June 2013]

(split from #4850)

The functionality at the original OpenStreetBugs site to have a look at the popups by just hovering over the red + I find it much more convenient than the how "add a note" on osm.org works at the moment: here you have to click on the marker to see the note.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 11.07pm, Monday, 10th June 2013]

There's a couple of problems with this...

The first is that the interaction of this and the autopanning of the map to make space for the popup is quite distracting - every time you go near a marker you run the risk of the map suddenly moving so that the popup can show.

The second is that, as things stand, leaflet doesn't cope well at all because the mouseover fires and I open the popup, which causes the map (and marker) to move, which causes the mouseout to fire, which causes the popup to disappear again...

@openstreetmap-trac
Copy link
Author

Author: malenki
[Added to the original trac issue at 7.02pm, Monday, 26th August 2013]

Doesn't autopanning should only start when the popup is so large it doesn't fit to the map?[[BR]]
openstreetbugs.org behaves this way and is quite comfortable to use (yes, it uses OL).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant