iPhone MKMapView : the map can’t load completely

老子叫甜甜 提交于 2020-02-07 05:29:10

问题


I don't know what's make wrong, my map can load, but the image on the map is not completely load. plx help. thz a lot. Here is the simulate map from the iPhone: (Added more example image.)

http://img689.imageshack.us/img689/8476/screenshot20100309at841.jpg alt text http://e.imagehost.org/0508/Screen_shot_2010-03-09_at_8_58_12_PM.jpg

Here is the code:

MKCoordinateRegion theRegion;
MKCoordinateSpan theSpan;
theSpan.latitudeDelta = 0.005;
theSpan.longitudeDelta = 0.005;

theRegion.center =  manager.location.coordinate;
theRegion.span = theSpan;

myMap.scrollEnabled = YES; 
myMap.zoomEnabled = YES; 

[myMap setRegion:theRegion];
[myMap regionThatFits:theRegion];

回答1:


Don't you do anything in the main thread that would prevent the map tiles to load fully ?




回答2:


Solved with SDK updated.



来源:https://stackoverflow.com/questions/2409049/iphone-mkmapview-the-map-can-t-load-completely

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