I need maps of certain areas available when no internet connection is available.
It would be like this:
- User loads app internet connection is available
- App downloads list of coordinates and places pins on the map
- User leaves their house and has no internet connection
- Pins and map remain readily available for user to interact with, even without internet connection
How do I do this?
You probably won’t use MKMapView and MapKit for that, but the Google Maps Static API that allows you to download static images (even with pins on it) directly.
Here is the example given by the Google Maps API doc itself
Then you can store this image and display it in an
UIImageViewin aUIScrollViewfor example.