2010-03-09 83 views
0

我不知道什么是错误的,我的地图可以加载,但地图上的图像并未完全加载。 plx帮助。很多。下面是从iPhone的模拟图:(增加了更多的示例图像。)iPhone MKMapView:地图无法完全加载

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

下面是代码:

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]; 

回答

0

难道你在主线程中做任何事情,会阻止地图切片完全加载?