|
BaiduMap_IOSSDK_v6.5.2_Docs
6.5.2
|
此类用于定义一个多边形区域 更多...
#import <BMKPolygon.h>
构造函数 | |
| (BOOL) | - setPolygonWithPoints:count: |
| (BOOL) | - setPolygonWithCoordinates:count: |
构造函数 继承自 BMKMultiPoint | |
| (void) | - getCoordinates:range: |
构造函数 继承自 <BMKAnnotation> | |
| (NSString *) | - title |
| 获取annotation标题 更多... | |
| (NSString *) | - subtitle |
| 获取annotation副标题 更多... | |
| (void) | - setCoordinate: |
构造函数 继承自 <BMKOverlay> | |
| (BOOL) | - intersectsMapRect: |
类方法 | |
| (nullable instancetype) | + polygonWithPoints:count: |
| (nullable instancetype) | + polygonWithCoordinates:count: |
属性 | |
| NSArray< id< BMKOverlay > > * | hollowShapes |
| 设置中空区域,用来创建中间带空洞的复杂图形。注意:传入的overlay只支持BMKPolgon类型和BMKCircle类型. since 5.0.0 更多... | |
| NSString * | encodedGeoPoints |
| 加密后的点信息 更多... | |
属性 继承自 BMKMultiPoint | |
| BMKMapPoint * | points |
| 坐标点数组 更多... | |
| NSUInteger | pointCount |
| 坐标点的个数 更多... | |
属性 继承自 BMKShape | |
| NSString * | title |
| 要显示的标题;注意:如果不设置title,无法点击annotation,也无法使用回调函数; 更多... | |
| NSString * | subtitle |
| 要显示的副标题 更多... | |
属性 继承自 <BMKAnnotation> | |
| CLLocationCoordinate2D | coordinate |
| 标注view中心坐标. 更多... | |
属性 继承自 <BMKOverlay> | |
| CLLocationCoordinate2D | coordinate |
| 返回区域中心坐标. 更多... | |
| BMKMapRect | boundingMapRect |
| 返回区域外接矩形 更多... | |
额外继承的成员函数 | |
Protected 属性 继承自 BMKMultiPoint | |
| package BMKMapPoint * | _points |
| NSUInteger | _pointCount |
| BMKMapRect | _boundingRect |
此类用于定义一个多边形区域
| + (nullable instancetype) polygonWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
| count: | (NSUInteger) | count | |
根据多个点生成多边形
| coords | 经纬度坐标点数组,这些点将被拷贝到生成的多边形对象中 |
| count | coords数组中点的个数 |
| + (nullable instancetype) polygonWithPoints: | (BMKMapPoint *) | points | |
| count: | (NSUInteger) | count | |
根据多个点生成多边形
| points | 直角坐标点数组,这些点将被拷贝到生成的多边形对象中 |
| count | points数组中点的个数 |
| - (BOOL) setPolygonWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
| count: | (NSUInteger) | count | |
重新设置多边形顶点
| coords | 指定的经纬度坐标点数组 |
| count | coords数组中坐标点的个数 |
| - (BOOL) setPolygonWithPoints: | (BMKMapPoint *) | points | |
| count: | (NSUInteger) | count | |
重新设置多边形顶点
| points | 指定的直角坐标点数组 |
| count | points数组中坐标点的个数 |
|
readwritenonatomiccopy |
加密后的点信息
由 category BMKPolygon(EncodedAPI) 提供.
|
readwritenonatomiccopy |
设置中空区域,用来创建中间带空洞的复杂图形。注意:传入的overlay只支持BMKPolgon类型和BMKCircle类型. since 5.0.0