|
高德地图SDK(定位)
V2.12.2
|
#import <AMapLocationRegionObj.h>
Instance Methods | |
| (instancetype) | - initWithCoordinates:count:identifier: |
| 根据经纬度坐标数据生成闭合多边形范围 Generate a closed polygon area based on latitude and longitude coordinate data More... | |
Instance Methods inherited from AMapLocationRegion | |
| (instancetype) | - initWithIdentifier: |
| 初始化方法 Initialization method More... | |
| (BOOL) | - containsCoordinate: |
| 坐标点是否在范围内 Is the coordinate point within the range More... | |
Properties | |
| CLLocationCoordinate2D * | coordinates |
| NSInteger | count |
Properties inherited from AMapLocationRegion | |
| NSString * | identifier |
| AMapLocationRegion的identifier. More... | |
| BOOL | notifyOnEntry |
| BOOL | notifyOnExit |
AMapLocationCircleRegion类,定义一个闭合多边形范围,点与点之间按顺序尾部相连, 第一个点与最后一个点相连。 The AMapLocationCircleRegion class defines a closed polygonal area, where points are connected in order from tail to head, and the first point is connected to the last point.
| - (instancetype) initWithCoordinates: | (CLLocationCoordinate2D *) | coordinates | |
| count: | (NSInteger) | count | |
| identifier: | (NSString *) | identifier | |
根据经纬度坐标数据生成闭合多边形范围 Generate a closed polygon area based on latitude and longitude coordinate data
| coordinates | 经纬度坐标点数据,coordinates对应的内存会拷贝,调用者负责该内存的释放 Latitude and longitude coordinate data, the memory corresponding to coordinates will be copied, the caller is responsible for releasing this memory |
| count | 经纬度坐标点的个数,不可小于3个 The number of latitude and longitude coordinate points must not be less than 3 |
| identifier | 唯一标识符,必填,不可为nil Unique identifier, mandatory, cannot be nil |
|
readnonatomicassign |
经纬度坐标点数据 Latitude and longitude coordinate point data
|
readnonatomicassign |
经纬度坐标点的个数 Number of latitude and longitude coordinate points