Mobile App Solutions
Thursday, 27 October 2011
How to set the zoomlevel of MKMapView
MKCoordinateRegion region;
region.center=newLocation.coordinate; // location
MKCoordinateSpan span;
span.latitudeDelta=120; // 0.001 to 120
span.longitudeDelta=120;
region.span=span;
[self.mapView setRegion:region animated:YES];
2 comments:
Unknown
23 April 2012 at 11:16
Nice one man, it is working ...
Reply
Delete
Replies
Reply
Unknown
27 February 2013 at 14:26
excellent stuff. best solution i've found
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Nice one man, it is working ...
ReplyDeleteexcellent stuff. best solution i've found
ReplyDelete