此类用于定义一个3D棱柱 since 6.4.0
更多...
#import <BMKPrismOverlay.h>
|
|
float | height |
| | 高度
|
| |
|
BMKBuildInfo * | buildInfo |
| | 建筑物信息
|
| |
|
float | floorHeight |
| | 楼层高度 (仅对建筑物生效) since 6.5.7
|
| |
|
BMKMapPoint * | points |
| | 坐标点数组
|
| |
|
NSUInteger | pointCount |
| | 坐标点的个数
|
| |
|
NSString * | title |
| | 要显示的标题;注意:如果不设置title,无法点击annotation,也无法使用回调函数;
|
| |
|
NSString * | subtitle |
| | 要显示的副标题
|
| |
|
CLLocationCoordinate2D | coordinate |
| | 标注view中心坐标.
|
| |
|
CLLocationCoordinate2D | coordinate |
| | 返回区域中心坐标.
|
| |
|
BMKMapRect | boundingMapRect |
| | 返回区域外接矩形
|
| |
◆ prismOverlayWithCoordinates:count:
| + (nullable instancetype) prismOverlayWithCoordinates: |
|
(CLLocationCoordinate2D *) |
coords |
| count: |
|
(NSUInteger) |
count |
|
|
| |
◆ prismOverlayWithPoints:count:
| + (nullable instancetype) prismOverlayWithPoints: |
|
(BMKMapPoint *) |
points |
| count: |
|
(NSUInteger) |
count |
|
|
| |
根据指定坐标点生成棱柱
- 参数
-
| points | 指定的直角坐标点数组 |
| count | 点的个数 |
- 返回
- 生成的棱柱
◆ setPrismOverlayWithCoordinates:count:
| - (BOOL) setPrismOverlayWithCoordinates: |
|
(CLLocationCoordinate2D *) |
coords |
| count: |
|
(NSUInteger) |
count |
|
|
| |
重新设置坐标点.
- 参数
-
| coords | 指定的经纬度数组,C数组,内部会做copy,调用者负责内存管理。 |
| count | 坐标点的个数 |
- 返回
- 是否设置成功
◆ setPrismOverlayWithPoints:count:
| - (BOOL) setPrismOverlayWithPoints: |
|
(BMKMapPoint *) |
points |
| count: |
|
(NSUInteger) |
count |
|
|
| |
重新设置坐标点.
- 参数
-
| points | 指定的直角坐标点数组,C数组,内部会做copy,调用者负责内存管理。 |
| count | 坐标点的个数 |
- 返回
- 是否设置成功
该类的文档由以下文件生成: