Page MenuHomePhabricator

Double-clicking/tapping on an interactive map should increase zoom by one level
Closed, DeclinedPublic

Description

The current behavior or interactive maps is that a double click/tap opens the full-screen view. This differs from the expected behavior on pretty much every other mapping service people interact with elsewhere.

The following map solutions all follow this pattern.

  • OpenStreetMaps
  • Mapbox
  • MapQuest
  • Google
  • Apple
  • Bing

I would suggest implementing a keyboard shortcut, but that's difficult as there could be multiple maps on a single page.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

@CKoerner_WMF, if you search for a place in Google, e.g. New York, you see this result (image below). Clicking (or double clicking) the map in the upper right corner would show google maps full screen. What we have is somewhat similar - we have an article with a link (snapshot) to the map. Bing.com has exactly the same behavior - you will have to scroll down a bit to see the map in the results, but it is also an image, not an interactive map. So does yandex.com. In other words, the large sites follow this model due to the general reading pattern - you view information, you get interested in something which you click - and that makes it full screen.
We do not have to follow the same model, and come up with some sort of an "in-place activation" (clicking makes it interactive), but it might not be very intuitive for the users, especially if the map size (controllable by the editors) is small. We cannot make it interactive from the start because it will force every user to download lots of extra code instead of getting just one image when they don't care about interacting with the map (most of the time). We could allow interactive map from the start only on the smallest of the wikis - like WikiVoyage, and even there it might make sense to show a non-interactive image first - but this is more difficult because it would break what users are already accustomed with.

pasted_file (519×871 px, 200 KB)

@CKoerner_WMF I have been thinking some more about this - I think that while we keep Wikivoyage mapframes interactive, we should make double click into a zoom in. The rest of our wikis that use static snapshot service should only allow a single click that becomes a full screen. I am not too happy about this difference between WV and the rest of the wikis, but I suspect that the vast majority of our users have never been to WV, so would not notice this difference. At the same time, this would be consistent with how most web sites (especially search engines) show information + image of the map, with a click required to activate the map. What do you think?

Hi @CKoerner_WMF - I agree with @Yurik in this instance. If, for no other reason, than that most people will automatically double click the map if the first single click didn't work.

I'll decline this ticket for now, please re-open if you think we need to look at it again.