Page MenuHomePhabricator

Enable pinch to zoom in nearby view on supported devices
Closed, ResolvedPublic

Description

Leaflet supports them on iOS, and soon - on Android 3.x+. Should enable them on supported platforms.


Version: 3.1.1 (iOS)
Severity: normal

Details

Reference
bz36005

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:21 AM
bzimport set Reference to bz36005.

Additionally in WLM app I've got a plugin that can enable a more primitive pinch-zoom on Android 2.

When using pinch-zoom we should also disable the zoom controls since they take screen space and can overlap with marker popups.

Untested on iOS and Android 3.x device yet, work in progress:

https://github.com/brion/Wikipedia/commits/pinchzoom-map

currently disables the zoom controls and enables touch-zoom unless we're on Android 2.x in which case it leaves them as-is. Next step to add the plugin.

Tested & confirmed ok -- but note that on Android 4 markers are still hidden by bug 36105.

Merged in 0906cfd8209c1727680c99ba1af44f714736bde3

Opening a separate bug 37280 for the Android 2.x pinch-zoom, since we haven't merged the Cordova 1.7 update yet I don't want to fiddle with backporting the plugin.