Chapter 5. Interacting with a Map

In the last chapter, we learned how to add additional information to a map using markers, overlays, information windows, and shapes. In this chapter, we will learn how to interact with map using events, gestures, controls, and toolbars. Let's start!

In this chapter, we will cover the following topics:

  • Need for interaction with a map
  • Working with UI controls
  • Working with a map toolbar
  • Working with gestures
  • Disabling/enabling UI controls and gestures with XML attributes
  • Working with events
  • Using projections
  • Custom applications

Need for interaction with a map

An application with no user interaction will be boring and won't be user-friendly. A real-time application needs a considerable amount of user interaction to make it intuitive, ...

Get Learning Android Google Maps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.