How can I get coordinates from userlocation?
How can I get the latitude and longtitude from mapView.userLocation
?
I need that to get the distance between userLocation and another point on the map.
I hope you can help me and th开发者_开发百科ank you beforehand!
Use the method provided in CLLocation
:
- (CLLocationDistance)getDistanceFrom:(const CLLocation *)location
精彩评论