TencentLocationSDK_iOS_v3.1
TencentLBSLocationUtils.h
1 //
2 // TencentLBSLocationUtils.h
3 // TencentLBS
4 //
5 // Created by mirantslu on 16/8/11.
6 // Copyright © 2016年 Tencent. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <CoreLocation/CoreLocation.h>
11 
12 @class TencentLBSLocation;
13 
14 NS_ASSUME_NONNULL_BEGIN
15 
16 @interface TencentLBSLocationUtils : NSObject
17 
18 + (double)distanceBetweenTwoCoordinate2D:(const CLLocationCoordinate2D *)coordinate coordinateTwo:(const CLLocationCoordinate2D *)coordinate2;
19 
20 + (double)distanceBetweenTwoCLLocations:(const CLLocation *)location locationTwo:(const CLLocation *)location2;
21 
22 + (double)distanceBetweenTwoTencentLBSLocations:(const TencentLBSLocation *)location locationTwo:(const TencentLBSLocation *)location2;
23 
24 // 参数add表示是否要包括台湾,YES为包括, NO不包括
25 + (BOOL) isInRegionWithLatitude:(double)latitude longitude:(double)longitude addTaiwan:(BOOL)add;
26 
27 + (CLLocationCoordinate2D)WGS84TOGCJ02:(CLLocationCoordinate2D)coordinate;
28 
29 @end
30 
31 @interface TencentLBSServiceManager : NSObject
32 
36 @property (nonatomic, copy) NSString *deviceID;
37 
38 + (instancetype)sharedInsance;
39 
40 @end
41 
42 NS_ASSUME_NONNULL_END
Definition: TencentLBSLocationUtils.h:31
NSString * deviceID
Definition: TencentLBSLocationUtils.h:36
Definition: TencentLBSLocation.h:28
Definition: TencentLBSLocationUtils.h:16