Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我怎样才能得到纬度和经度mapView.userLocation?
mapView.userLocation
我需要它来获取 userLocation 和地图上另一个点之间的距离。
我希望你能帮助我,并在此先谢谢你!
使用中提供的方法CLLocation:
CLLocation
- (CLLocationDistance)getDistanceFrom:(const CLLocation *)location