The current way to embed Google Maps into your Android application is called "Maps V2". This digital book will show you how to add such maps, including how to get signed up to use Maps V2, how to add the necessary scaffolding to your app to ensure Maps V2 is available for you, and how to customize the map with markers, lines, popups, and the like.
The book covers over a dozen sample projects, the source code for which is available for you to download for your use. These projects will show you how to:
- Animate the movement of markers on the map
- Center and zoom the map, including the steps to ensure that certain markers will be in the visible area of the map
- Allow users to drag and drop map markers to new locations, and to find out where those new locations are
- Display popup balloons when the user taps on map markers, including ones with custom content defined by you
- Integrate location data into the map, using GPS or other location providers, such as following the user's current location as the user moves
- Tie your maps into other portions of your user interface, such as putting maps in tabs or supporting it with the action bar
- And much more!
This digital book is an ~85 page extract from CommonsWare's epic The Busy Coder's Guide to Android Development.