Basic Google Maps API Android Tutorial + Google Maps Directions API

Create simple android app that find routes between 2 places base on their address text using Google Map Direction API
Download Project: https://github.com/hiepxuan2008/GoogleMapDirectionSimple/

•————————­————–­­­–•
Students: Mai Thanh Hiep – Tran Tuan Tu
Lecturer: Tran Minh Triet
University of Science

•————————­————–­­­–•
1. Demo App

2. Create new project Google Map

3. Register a Google Map API key

4. Overview basic code in Google Map API

5. newLatLngZoom – Zoom camera at a location

6. SetMapType – Switch google map style

7. setMyLocationEnabled(true) – Allow user to show their current location on Google Map

8. Create a marker with a custome icon

9. Draw polylines to google map

10. Use Google Maps Directions API – Find routes between 2 places

11. Code Android App using Google Maps Directions API

12. Get Draw Data by URL from Internet

13. Parse Json Object

14. Display result to Screen

You may also like...

1 Response

  1. Nikolaos Papadopoulos says:

    Really great job!
    In case we need to show directions from last location to destination how can we set origin as last location?
    Thank you!

Leave a Reply

Your email address will not be published.