|
BaiduMap_IOSSDK_v6.6.2_Docs 6.6.2
|
此类用于定义一段大地曲线 since 6.3.0 更多...
#include <BMKGeodesicLine.h>
构造函数 | |
| (BOOL) | - setGeodesicLineWithPoints:count: |
| (BOOL) | - setGeodesicLineWithCoordinates:count: |
构造函数 继承自 BMKPolyline | |
| (BOOL) | - setPolylineWithPoints:count: |
| (BOOL) | - setPolylineWithCoordinates:count: |
| (NSArray< NSNumber * > *textureIndex) | - __deprecated_msg |
| 颜色/纹理索引数组 | |
| (BOOL) | - setPolylineWithPoints:count:textureIndex: |
| (BOOL) | - setPolylineWithCoordinates:count:textureIndex: |
构造函数 继承自 BMKMultiPoint | |
| (void) | - getCoordinates:range: |
构造函数 继承自 <BMKAnnotation> | |
| (NSString *) | - title |
| 获取annotation标题 | |
| (NSString *) | - subtitle |
| 获取annotation副标题 | |
| (void) | - setCoordinate: |
构造函数 继承自 <BMKOverlay> | |
| (BOOL) | - intersectsMapRect: |
类方法 | |
| (nullable instancetype) | + geodesicLineWithPoints:count: |
| (nullable instancetype) | + geodesicLineWithCoordinates:count: |
类方法 继承自 BMKPolyline | |
| (nullable instancetype) | + polylineWithPoints:count: |
| (nullable instancetype) | + polylineWithCoordinates:count: |
| (nullable instancetype) | + polylineWithPoints:count:textureIndex: |
| (nullable instancetype) | + polylineWithCoordinates:count:textureIndex: |
额外继承的成员函数 | |
Protected 属性 继承自 BMKMultiPoint | |
| package BMKMapPoint * | _points |
| NSUInteger | _pointCount |
| BMKMapRect | _boundingRect |
属性 继承自 BMKPolyline | |
| BOOL | isThined |
| BMKLineDirectionCross180Type | lineDirectionCross180 |
属性 继承自 BMKMultiPoint | |
| BMKMapPoint * | points |
| 坐标点数组 | |
| NSUInteger | pointCount |
| 坐标点的个数 | |
属性 继承自 BMKShape | |
| NSString * | title |
| 要显示的标题;注意:如果不设置title,无法点击annotation,也无法使用回调函数; | |
| NSString * | subtitle |
| 要显示的副标题 | |
属性 继承自 <BMKAnnotation> | |
| CLLocationCoordinate2D | coordinate |
| 标注view中心坐标. | |
属性 继承自 <BMKOverlay> | |
| CLLocationCoordinate2D | coordinate |
| 返回区域中心坐标. | |
| BMKMapRect | boundingMapRect |
| 返回区域外接矩形 | |
此类用于定义一段大地曲线 since 6.3.0
| + (nullable instancetype) geodesicLineWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
| count: | (geodesic(coordinates:count:)) | NS_SWIFT_NAME |
根据两个经纬度生成大地曲线,两点距离需大于250KM
| coords | 经纬度 |
| count | 点的个数 |
| + (nullable instancetype) geodesicLineWithPoints: | (BMKMapPoint *) | points | |
| count: | (geodesic(points:count:)) | NS_SWIFT_NAME |
根据指定两个坐标点生成大地曲线
| points | 指定的直角坐标点数组 |
| count | 点的个数 |
| - (BOOL) setGeodesicLineWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
| count: | (NSUInteger) | count |
重新设置坐标点.
| coords | 指定的经纬度数组,C数组,内部会做copy,调用者负责内存管理。 |
| count | 坐标点的个数 |
| - (BOOL) setGeodesicLineWithPoints: | (BMKMapPoint *) | points | |
| count: | (NSUInteger) | count |
重新设置坐标点.
| points | 指定的直角坐标点数组,C数组,内部会做copy,调用者负责内存管理。 |
| count | 坐标点的个数 |