iPhone MKMapView:地图无法完全加载 [英] iPhone MKMapView : the map can’t load completely
本文介绍了iPhone MKMapView:地图无法完全加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不知道出了什么问题,我的地图可以加载,但是地图上的图像并未完全加载.请帮助.很多.这是iPhone上的模拟地图:(添加了更多示例图像.)
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 替代文本http://e.imagehost.org/0508/Screen_shot_2010-03- 09_at_8_58_12_PM.jpg
这是代码:
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];
推荐答案
已解决SDK更新.
这篇关于iPhone MKMapView:地图无法完全加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文