Book description
Integrate Google Maps with your Android application to offer feature-rich and interactive maps
About This Book
- Set up the development environment and obtain the Google API key to create your first map application
- Create a cutting edge Google maps application by implementing all the concepts learned
- A step-by-step tutorial guide that is full of pragmatic examples
Who This Book Is For
If you are an Android developer and want to integrate maps into your application, then this book is definitely for you. This book is intended for novice Android application developers who would like to get up and running with map rich applications using Google Maps. Some basic development experience would be helpful but it's not a mandate.
What You Will Learn
- Get to know about the basic development environment setup needed to create a successful map application
- Generate an SHA1 fingerprint, obtain an API key, and create a basic map application
- Detect different types of maps and implement them in your application
- Add information to your map such as markers, overlays, information windows, and shapes
- Explore the interaction with maps and work with gestures
- Change the different camera views in your map application
- Work with real-time GPS location data and implementing it in your application
- Apply Street View and integrate the StreetViewPanoroma fragment to your application
- Employ the native Google maps application to solve some of the tasks using intents
- Create a cutting edge Google maps application by implementing all the concepts learned
In Detail
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.
Style and approach
The book is tailored for the reader with a fundamental approach to Android Google Maps providing a step-by-step introduction to Android Google Maps. It focuses on simple, easy-to-understand examples that are pragmatic and serve as useful basis for real-world applications. Different topics are approached in a bottom-up fashion, gradually going from the simplest foundations to the most advanced features.
Table of contents
-
Learning Android Google Maps
- Table of Contents
- Learning Android Google Maps
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Preface
- 1. Setting Up the Development Environment
- 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
- Need for interaction with a map
- Working with UI controls
- Working with the map toolbar
- Working with gestures
- Disabling/Enabling UI controls and gestures with XML attributes
- Disabling/enabling the UI controls and gestures with the GoogleMapOptions object
- Working with map events
- Using a Projection class
- Creating a custom application
- Self-test questions
- Summary
- 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
- Chapter 1, Setting Up the Development Environment
- Chapter 2, Configuring an API Key and Creating Our First Map Application
- Chapter 3, Working with Different Map Types
- Chapter 4, Adding Information to Maps
- Chapter 5, Interacting with a Map
- Chapter 6, Working with Custom Views
- Chapter 7, Working with Location Data
- Chapter 8, Knowing about the Street View
- Chapter 9, Google Maps Intents
- Index
Product information
- Title: Learning Android Google Maps
- Author(s):
- Release date: September 2015
- Publisher(s): Packt Publishing
- ISBN: 9781849698863
You might also like
book
Android Recipes: A Problem-Solution Approach for Android 5.0, Fourth Edition
Android Recipes, Fourth Edition offers more than 100 down-to-earth code recipes, and guides you step-by-step through …
book
Build Location Apps on iOS with Swift: Use Apple Maps, Google Maps, and Mapbox to Code Location Aware Mobile Apps
Work with Apple Maps, Google Maps, and Mapbox in iOS with Swift programming. Guided by practical …
book
Learning Android Application Testing
Improve your Android applications through intensive testing and debugging In Detail This book is a practical …
book
Android Fragments
Android Fragments is a 100-page quick start accelerated guide to learning and quickly using Android fragments. …