Working with gestures
A map application created with the Google Maps API supports all the gestures supported by the Google Maps app. It is up to you to choose whether you need all the gestures or would like to disable some.
As with UI controls, we can enable/disable gestures from the UiSettings
class.
The various gestures that are supported are as follows:
Zoom gestures
Scroll gestures
Tilt gestures
Rotate gestures
Let's discuss these gestures in detail.
Zoom gestures
There are four types of zoom gestures available. Let's discuss them in detail.
Double tap
This refers to double tapping on the surface of a map which increases the zoom level by 1 (that is, zoom in).
Two finger tap
This refers to a two finger tap on the surface of a map which decreases the zoom level by 1 (that is, zoom out).
Two finger pinch/stretch (pinch to zoom)
This refers to pinching the surface of a map with two fingers which decreases the zoom level (that is, zoom out).
This refers to stretching the surface of the map with two fingers...