WeAreFairphone / fprsmap

This is a Leaflet map of the local Fairphoners communities
https://map.fairphone.community
GNU General Public License v3.0
10 stars 7 forks source link

Make marker pop-ups self-explaining #12

Closed StefanBrand closed 7 years ago

StefanBrand commented 7 years ago

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?

Roboe commented 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:

StefanBrand commented 7 years ago

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:

— 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

Roboe commented 7 years ago

What if we simply make one marker "Amsterdam Fairphone HQ", which is open by default?

Seems fair enough (pun intended!)

Roboe commented 7 years ago

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

StefanBrand commented 7 years ago

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

StefanBrand commented 7 years ago

If somebody comes up with a better idea than mine above, please post it here. :slightly_smiling_face: