//1.将两个经纬度点转成投影点
MAMapPoint point1 = MAMapPointForCoordinate(CLLocationCoordinate2DMake(39.989612,116.480972));
MAMapPoint point2 = MAMapPointForCoordinate(CLLocationCoordinate2DMake(39.990347,116.480441));
 
//2.计算距离
CLLocationDistance distance = MAMetersBetweenMapPoints(point1,point2);

相关文章:

  • 2021-05-28
  • 2021-07-30
  • 2022-02-01
  • 2021-11-27
  • 2021-08-26
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-23
  • 2021-12-11
  • 2021-11-27
  • 2022-02-10
  • 2021-06-27
相关资源
相似解决方案