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. By default, markers are draggable.

  1. True

  2. False

Q2. Which method should be called on a MarkerOptions object to change opacity?

  1. Alpha()

  2. Flat()

  3. Anchor()

Q3. Which method should be called to set the title for an information window?

  1. Snippet()

  2. Title()

  3. Icon()

Q4. Which method should be called on a shape's Options object to change the fill color of a shape?

  1. fillColor()

  2. strokeColor()

  3. strokeWidth()

Q5. What are the types of overlays used in Google maps?

  1. 4

  2. 5

  3. 2

Q6. Multiple images can be used in ground overlays.

  1. True

  2. False

Q7. How many image tiles are needed to support a zoom level of 2 in Google maps?

  1. 4

  2. 9

  3. 16