Book Image

Learning Android Google Maps

Book Image

Learning Android Google Maps

Overview of this book

This book helps you to overcome the most common problems faced by users and helps you create a successful map application without any hassle. The book starts with a brief description of how to set up an environment and obtain an API key to create your map application. This book will teach you about adding markers, overlays, and information windows to the map in detail. You will then dive deep into customizing various types of maps and working with location data and Google Street view. By the end of this book, you will be able to create succinct map applications in Android using Google maps efficiently.
Table of Contents (18 chapters)
Learning Android Google Maps
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Self-test questions


Q1. The UiSettings class can be obtained by calling the getUiSettings method on the GoogleMap object.

  1. True

  2. False

Q2. By default, zoom controls are disabled.

  1. True

  2. False

Q3. The XML attribute disables compass control.

  1. uiCompass

  2. uiSettings

  3. uiZoom

Q4. Tilt gestures can be disabled/enabled by this method.

  1. setTiltGesturesEnabled()

  2. setTiltEnabled()

  3. setTiltGestures()

Q5. How many values can be obtained from the CameraPosition object?

  1. 4

  2. 5

  3. 6

Q6. Which method is used to convert screen pixels to LatLng coordinates?

  1. fromScreenLocation()

  2. toScreenLocation()

Q7. The OnMapClickListener interface is used to handle map click events.

  1. True

  2. False