|
BaiduMap_IOSSDK_v6.6.1_Docs
|
此类用于定义一个3D棱柱 since 6.4.0 更多...
#import <BMKPrismOverlay.h>
构造函数 | |
| (BOOL) | - setPrismOverlayWithPoints:count: |
| (BOOL) | - setPrismOverlayWithCoordinates:count: |
构造函数 继承自 BMKMultiPoint | |
| (void) | - getCoordinates:range: |
构造函数 继承自 <BMKAnnotation> | |
| (NSString *) | - title |
| 获取annotation标题 | |
| (NSString *) | - subtitle |
| 获取annotation副标题 | |
| (void) | - setCoordinate: |
构造函数 继承自 <BMKOverlay> | |
| (BOOL) | - intersectsMapRect: |
类方法 | |
| (nullable instancetype) | + prismOverlayWithPoints:count: |
| (nullable instancetype) | + prismOverlayWithCoordinates:count: |
属性 | |
| float | height |
| 高度 | |
| BMKBuildInfo * | buildInfo |
| 建筑物信息 | |
| float | floorHeight |
| 楼层高度 (仅对建筑物生效) since 6.5.7 | |
属性 继承自 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 |
此类用于定义一个3D棱柱 since 6.4.0
| + (nullable instancetype) prismOverlayWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
| count: | (NSUInteger) | count | |
根据经纬度生成棱柱
| coords | 经纬度 |
| count | 点的个数 |
| + (nullable instancetype) prismOverlayWithPoints: | (BMKMapPoint *) | points | |
| count: | (NSUInteger) | count | |
根据指定坐标点生成棱柱
| points | 指定的直角坐标点数组 |
| count | 点的个数 |
| - (BOOL) setPrismOverlayWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
| count: | (NSUInteger) | count | |
重新设置坐标点.
| coords | 指定的经纬度数组,C数组,内部会做copy,调用者负责内存管理。 |
| count | 坐标点的个数 |
| - (BOOL) setPrismOverlayWithPoints: | (BMKMapPoint *) | points | |
| count: | (NSUInteger) | count | |
重新设置坐标点.
| points | 指定的直角坐标点数组,C数组,内部会做copy,调用者负责内存管理。 |
| count | 坐标点的个数 |