Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Android Google Maps

You're reading from   Learning Android Google Maps Integrate Google Maps with your Android application to offer feature-rich and interactive maps

Arrow left icon
Product type Paperback
Published in Sep 2015
Publisher Packt
ISBN-13 9781849698863
Length 356 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (13) Chapters Close

Preface 1. Setting Up the Development Environment FREE CHAPTER 2. Configuring an API Key and Creating Our First Map Application 3. Working with Different Map Types 4. Adding Information to Maps 5. Interacting with a Map 6. Working with Custom Views 7. Working with Location Data 8. Know about the Street View 9. Google Maps Intents 10. Creating a Custom Map Application A. Answers to Self-test Questions Index

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

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image