Google Maps event that is called when all visible map tiles are loaded
Is 开发者_开发知识库there a way to programmatically determine when Google Maps is done loading visible image tiles in an MKMapView? I would like to take a screenshot of a view in an iPad app that has a Google Map in it, but I don't know how long to wait before taking the screenshot.
I can't seem to find an event that triggers when tiles are done loading so the screenshot will actually have images in it, instead of a blank gray background.
This method: - (void)mapViewDidFinishLoadingMap:(MKMapView *)mapView
in the MKMapViewDelegate protocol will do that for you.
精彩评论