//获取某一点的经纬度(即CGPoint转CLLocationCoordinate2D)
- (CLLocationCoordinate2D)getCLLocationCoordinate2DWithPoint:(CGPoint)point
{
CGPoint addressPoint = point;
CLLocationCoordinate2D mapCoordinate = [self.mapView convertPoint:addressPoint toCoordinateFromView:self.mapView];
return mapCoordinate;
}
获取某一点的经纬度(高德地图)
最新推荐文章于 2024-03-05 09:31:27 发布