Closed StefanBrand closed 7 years ago
Although I think the behaviour is quite known for the mayority of the users, I propose an improvement for that: we can open and close the popup when the mouse "touch" the marker. Reference:
What if we simply make one marker "Amsterdam Fairphone HQ", which is open by default?
PS.: Hovering doesn't work with touchscreens... I'll have to conduce some experiments with test persons to see how they react on the markers (if they find the popups)... ;)
Am 11.09.2016 um 02:13 schrieb Roberto M.F.:
Although I think the behaviour is quite known for the mayority of the users, I propose an improvement for that: we can open and close the popup when the mouse "touch" the marker. Reference:
- Leaflet's events: http://leafletjs.com/reference.html#events
- Events documentation: http://leafletjs.com/reference.html#marker-options (below that, section Events)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/newluck77/fprsmap/issues/12#issuecomment-246153552, or mute the thread https://github.com/notifications/unsubscribe-auth/AIiMgfd0dwMVLaTdBEHhhu0TbJOmrqALks5qo0exgaJpZM4J5QK2.
E-Mail ist virenfrei. Von AVG überprüft - www.avg.com http://www.avg.com Version: 2016.0.7752 / Virendatenbank: 4656/12992 - Ausgabedatum: 11.09.2016
What if we simply make one marker "Amsterdam Fairphone HQ", which is open by default?
Seems fair enough (pun intended!)
In which layer should we implement the Fairphone headquarters marker? Stand-alone?
Opening it by default is pretty easy: http://leafletjs.com/reference.html#popup
Stand alone, I'd say. It's not bad if it's there all the time, is it? :)
The popup could include a link to the website and the address and telephone number (like with the shop popups).
If somebody comes up with a better idea than mine above, please post it here. :slightly_smiling_face:
At the moment, I fear that people don't know that every marker has a popup, if they don't accidentally click on one. How can we make marker pop-ups self-explaining?