Create thumbnails from MKMapView

I would like to create a UIImage sketch from the MKMapView I created.

Unfortunately, map tiles do not load until MKMapView appears on the screen. This means that any delegate methods associated with loading the map will not work until the map is shown. When the view on which the map is displayed is displayed, the delegate methods work just fine.

However, I would like to create a thumbnail instead of a map, so I can make a more flat and efficient look later. The best example I've seen on Twitter for the iPhone, but it almost seems like he somehow grabbed it from the internet as it uses Google’s own annotations.

Help evaluate. Thanks

+3
source share
1 answer

You can use Google Maps with your static map API.

http://code.google.com/apis/maps/documentation/staticmaps/

You can place pins on the map where you choose. You can also leave the map without annotations from Google and place the icons on the image yourself, since you know the coordinates of the image.

+1
source

Source: https://habr.com/ru/post/1772771/


All Articles