Skip to content

PabloRod7/MapApp-HWS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

MapApp Haking with swift

Teach users about geography while you learn about MKMapView and annotations.

Topics

MKMapView, MKAnnotation, MKPinAnnotationView, CLLocationCoordinate2D

Challenges

1 - Try typecasting the return value from dequeueReusableAnnotationView() so that it's an MKPinAnnotationView. Once that’s done, change the pinTintColor property to your favorite UIColor.

2 - Add a UIAlertController that lets users specify how they want to view the map.There's a mapType property that draws the maps in different ways. For example, .satellite gives a satellite view of the terrain.

3 - Modify the callout button so that pressing it shows a new view controller with a web view, taking users to the Wikipedia entry for that city.

ScreenShots

Screenshot 2022-12-10 at 09 58 00Screenshot 2022-12-10 at 09 58 43 Screenshot 2022-12-10 at 09 59 20Screenshot 2022-12-10 at 09 59 46

About

Map App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages