TencentLBSLocationUtils Class Reference

Inherits from NSObject
Declared in TencentLBSLocationUtils.h

+ distanceBetweenTwoCoordinate2D:coordinateTwo:

计算两个坐标点的距离

+ (double)distanceBetweenTwoCoordinate2D:(const CLLocationCoordinate2D *)coordinate coordinateTwo:(const CLLocationCoordinate2D *)coordinate2

Discussion

计算两个坐标点的距离

Declared In

TencentLBSLocationUtils.h

+ distanceBetweenTwoCLLocations:locationTwo:

计算两个location的距离

+ (double)distanceBetweenTwoCLLocations:(const CLLocation *)location locationTwo:(const CLLocation *)location2

Discussion

计算两个location的距离

Declared In

TencentLBSLocationUtils.h

+ distanceBetweenTwoTencentLBSLocations:locationTwo:

计算两个TencentLBSLocation的距离

+ (double)distanceBetweenTwoTencentLBSLocations:(const TencentLBSLocation *)location locationTwo:(const TencentLBSLocation *)location2

Discussion

计算两个TencentLBSLocation的距离

Declared In

TencentLBSLocationUtils.h

+ isInRegionWithLatitude:longitude:

判断经纬度是否在国内

+ (BOOL)isInRegionWithLatitude:(double)latitude longitude:(double)longitude

Discussion

判断经纬度是否在国内

Declared In

TencentLBSLocationUtils.h

+ WGS84TOGCJ02:

wgs84坐标转成gcj02坐标

+ (CLLocationCoordinate2D)WGS84TOGCJ02:(CLLocationCoordinate2D)coordinate

Discussion

wgs84坐标转成gcj02坐标

Declared In

TencentLBSLocationUtils.h