In this assignment you will interface Google Maps into your app, and include poly lines and markers in the app.
Part 1:
- Create an activity and include Google maps in this activity. Follow all the instructions indicated in the Google Maps documentation.
Part 2:
- You are provided with a trip.json file, which should be added to your project as follows:
- Create a raw folder under the res folder.
- Copy the trip.json file into the raw folder.
- After the Map is loaded into the activity, your code should read and parse the trip.json file, (you can use the Gson library to parse the json file).
- The trip points loaded from the trip.json file should be plotted on the Google map as follows:
- The trip should be displayed using the Polyline shape.
- The start and end points of the trip should be indicated with markers
- After plotting the trip information the map should be centered and zoomed to display all the trip points. Also map should be auto zoomed to include all the trip points in the maps bounding box. Check CameraUpdateFactory class at the following link
https://developers.google.com/android/reference/com/google/android/gms/maps/CameraUpdateFactory
Figure 1, App Wireframe

![[Solved] ITIS/CS 5180 Assignment9-Google Maps](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[Solved] ITIS/CS 5180 Assignment13-MessageMe wuth Firebase](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.