on 04-05-2012 1:56 PM
Hi,
We're developing iPad app with map view. We would like users to zoom in by double taping on the map.
Are there any Apple specifications what is the time distance between tap A and Tap B to consider them as double tap guester?
Thanks
Ravid
Also found this on the web
http://mohiji.nfshost.com/2011/12/tracking-touches-in-an-mkmapview/
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Got also:
and was also adviced to use a UITapGestureRecognizer on the view and set numberOfTapsRequired=2.
I'm not a developer, but I'll forward dev team your link and others'.
Many thanks for the help!
Ravid
As you know the MKMapView will respond to a double tap by giving up a double tap action that you can respond to. That time difference is internal to iOS I believe, and I'm sure Apple wouldn't want you messing around with that, due to them wanting to make the whole experience uniform for iOS, as the HIG explains.
Though you can create your own gestures now, I would just be happy with sticking with the standard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for replying. I'm a UX designer and an "ardent fan" of using standard behaviors.
We use Google map, but we have a layer of colored areas above it (e.g., state, county, etc.) to indicate money spent in each area. Say for example that NY state is colored in dark blue. I want by double taping to zoom in and see all counties in NY states colored according to expenses spent. I want users to drill down into an area by double tapping. If it was a pie chart or bar chart you would double tap on a slice to drill down to see more details. The same we want to achieve with the map.
Please find some colored maps:
States: http://www.freeusandworldmaps.com/images/US_Counties_Maps/USNationalCountyColor.jpg
Counties: http://upload.wikimedia.org/wikipedia/commons/4/45/Census-2000-Data-Top-US-Ancestries-by-County.jpg
Google map gestures will not work on the colored areas because of the layer. We aim to mimic the standard behavior in the colored areas, as if there was no layer. We need to know what the standard behavior is in order to mimic it. Are you familiar maybe with any definitions for double tap on a map?
Thanks in advanced,
Ravid
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.