MKMapView Cannot Zoom Map

纵然是瞬间 提交于 2019-12-11 02:16:52

问题


I created a really basic app that just shows an MKMapView and the UserLocation. I'm having problems drawing this base map sometimes (it only shows pieces of the map), and whenever I pinch zoom the map, it fails to redraw, and just shows the blank gray tiles. The console shows this whenever it needs to get a new map tile:

/SourceCache/GoogleMobileMaps/GoogleMobileMaps-263.5/googlenav/mac/Loader.mm:231 server returned error: 502

This looks like a gateway error, but that doesn't make any sense, since I'm using open WiFi for testing. I haven't implemented any region zooming code, I just want to display and zoom the basic map first. I'm using iOS 4.2.1 (8C148), so I'm wondering if this is a problem with the newer iOS versions? Any ideas?

Edit: Works fine now, must just be a problem with Google's servers.


回答1:


Just started getting the same error. I've searched online and can't see anyone else having the issue (yet). Thought it was something I did, but suspect its at Google's end.




回答2:


I think that the problem is solved now. It had to be a momentary Google Maps problem.



来源:https://stackoverflow.com/questions/5094104/mkmapview-cannot-zoom-map

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!