开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜