$29
Objectives: Further enhance the knowledge about using MapView
Reading/Review: Week 9 Module Lecture notes/examples and assigned reading.
Lab: During this lab, we will use lab4 (No need to have Coredata in lab 6) as the starting point and add mapView feature. Following are the main functionalities that you will implement in this lab
a) Similar to lab4, your app allows users to add places and populate the table view. Once a location is selected, a detail view of the location is shown with a map annotated with its name (city name). Also, show the longitude and latitude of the location in two textboxes. Longitude and latitude values need to be generated at runtime using geocoding (Do not hardcode longitude and latitude values, need to get them at runtime using the geocoder).
b) Once the city is displayed on the map, the user will be able to search places that the user is interested in such as “coffee”, “pizza”, and “movie” …etc. Once the user entered the search, list of places returned from the search should be displayed on the map with annotations that includes the name of the place
c) Add a segmented controller to your detail view so that you app can toggle between standard map view and satellite map view. More details about
segmented controller can be found @
https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Refere
nce/UISegmentedControl_Class/index.html
Note: Also, you can drag and drop a segmented controller to the storyboard similar to UI objects such as button we have used before.
Submission Instructions
Submit online to the canvas using the link given under Lab 6