I am implementing an application based on the MapKit using the iPhone SDK. Now I just need a method to get the event when we drag, zoom in/out on the Map. The method is like this:
-(void)mapView:(MKMapView *)mapView regionDidChangeAnimated:(BOOL)animated
Now I need to get the following:
- Top left’s and bottom right’s latitude and longitude values.
- Center of the map.
- Zoom level.
Please give me suggessions to solve the above 3 use cases.
By using the following code I got the answer to get the values of center,topleft and bottom right latitude and longitude values of the map view. I need to get a solution for the answer question as well (i.e zoo level of the mapview). If you guys have any idea to get the zoom level please post me. Thanks in advance.