i have a application which has 3 things in UIViewController
- MapView
- Search-control - (Ability to Search any Location in Map view)
- Slider - (minimum value 0km - Maximum value 50Km)
Now i have Searched one city Lets Say Barcelona . it will search using Geocode method and i got the latitude and Longitude of the Barcelona and i have added one annotation of red Pin which show title and sub locality in annotation click..
i want to calculate distance of Zoom in zoom out with in the Radius of that annotation in Kilometers. what are the best possible way to achieve this ? For e.g. i want to zoom around 30 km within that Radius
Any help will be greatly appreciated