Opened 6 years ago

Last modified 5 years ago

#4876 new enhancement

"add a note": Show popup on hover

Reported by: malenki Owned by: rails-dev@…
Priority: minor Milestone:
Component: website Version:
Keywords: "add a note" Cc: malenki

Description

(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.

Change History (2)

comment:1 Changed 6 years ago by TomH

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...

comment:2 Changed 5 years ago by malenki

  • Cc malenki added

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

Note: See TracTickets for help on using tickets.