iPhone MKMapView : the map can’t load completely.

Posted by Tattat on Stack Overflow See other posts from Stack Overflow or by Tattat
Published on 2010-03-09T12:45:19Z Indexed on 2010/03/11 17:59 UTC
Read the original article Hit count: 566

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

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

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about xcode