Missouri IPhone MapView

I am making an iPhone app that is designed for things that will be local to Missouri only. Therefore, my idea is to limit the map to only Missouri / regions close to Missouri. My map works fine, showing the location of the user, and if they update the location, the pin will also move. Can I use something like custom annotation? Or can I check the location of users and decide if its usage will be a certain lat, long and display a map based on this?

I work in xCode when creating this project.

+6
iphone mapkit mkmapview
source share
2 answers

Take a look at the MKMapViewDelegate protocol. There are methods that will tell you when the user's location has changed and when the map was moved. Then you can do what suits you, depending on where the user is located.

+1
source share

Set the exact area that you want to display on the map using the MKMapView's region and centerCoordinate . Then disable scrolling and zooming with zoomEnabled and scrollEnabled the same class.

+1
source share

All Articles