高德地图SDK(定位)  V2.12.2
AMapLocationRegionObj.h
Go to the documentation of this file.
1 //
2 // AMapLocationRegionObj.h
3 // AMapLocationKit
4 //
5 // Created by AutoNavi on 15/11/27.
6 // Copyright © 2015年 Amap. All rights reserved.
7 //
8 
10 
11 // 以下类涉及的坐标需要使用高德坐标系坐标(GCJ02)
12 //The following categories require the use of coordinates in the AMAP coordinate system (GCJ02)
13 
14 #pragma mark - AMapLocationRegion
15 
16 
19 @interface AMapLocationRegion : NSObject<NSCopying>
20 
22 @property (nonatomic, copy, readonly) NSString *identifier;
23 
26 @property (nonatomic, assign) BOOL notifyOnEntry;
27 
30 @property (nonatomic, assign) BOOL notifyOnExit;
31 
38 - (instancetype)initWithIdentifier:(NSString *)identifier;
39 
48 - (BOOL)containsCoordinate:(CLLocationCoordinate2D)coordinate;
49 
50 @end
51 
52 #pragma mark - AMapLocationCircleRegion
53 
54 
58 
61 @property (nonatomic, readonly) CLLocationCoordinate2D center;
62 
65 @property (nonatomic, readonly) CLLocationDistance radius;
66 
79 - (instancetype)initWithCenter:(CLLocationCoordinate2D)center radius:(CLLocationDistance)radius identifier:(NSString *)identifier;
80 
81 
82 @end
83 
84 #pragma mark - AMapLocationPolygonRegion
85 
86 
90 
93 @property (nonatomic, readonly) CLLocationCoordinate2D *coordinates;
94 
97 @property (nonatomic, readonly) NSInteger count;
98 
111 - (instancetype)initWithCoordinates:(CLLocationCoordinate2D *)coordinates count:(NSInteger)count identifier:(NSString *)identifier;
112 
113 
114 
115 @end
Definition: AMapLocationRegionObj.h:58
Definition: AMapLocationRegionObj.h:90
Definition: AMapLocationRegionObj.h:19
BOOL notifyOnExit
Definition: AMapLocationRegionObj.h:30
NSString * identifier
AMapLocationRegion的identifier.
Definition: AMapLocationRegionObj.h:22
BOOL notifyOnEntry
Definition: AMapLocationRegionObj.h:26
© 2017 高德信息技术有限公司 版权所有,保留所有权利。