1

I'm using GMSMapView for iOS app in which a list of data is retrieved using an API and their distance will be displayed as a part of UITableView cell using CLLocation distancefromlocation. But, the problem is the result is not accurate as the Google map's route based distance. How can I get the route based distance ? I tried using MKMapRoute distance property and it takes some delay to load and it returns 0.

0 Answers0