此类用于定义一段大地曲线 since 6.3.0
更多...
#import <BMKGeodesicLine.h>
|
|
package BMKMapPoint * | _points |
| |
|
NSUInteger | _pointCount |
| |
|
BMKMapRect | _boundingRect |
| |
| BOOL | isThined |
| |
| BMKLineDirectionCross180Type | lineDirectionCross180 |
| |
|
BMKMapPoint * | points |
| | 坐标点数组
|
| |
|
NSUInteger | pointCount |
| | 坐标点的个数
|
| |
|
NSString * | title |
| | 要显示的标题;注意:如果不设置title,无法点击annotation,也无法使用回调函数;
|
| |
|
NSString * | subtitle |
| | 要显示的副标题
|
| |
|
CLLocationCoordinate2D | coordinate |
| | 标注view中心坐标.
|
| |
|
CLLocationCoordinate2D | coordinate |
| | 返回区域中心坐标.
|
| |
|
BMKMapRect | boundingMapRect |
| | 返回区域外接矩形
|
| |
◆ geodesicLineWithCoordinates:count:
| + (nullable instancetype) geodesicLineWithCoordinates: |
|
(CLLocationCoordinate2D *) |
coords |
| count: |
|
(geodesic(coordinates:count:)) |
NS_SWIFT_NAME |
|
|
| |
根据两个经纬度生成大地曲线,两点距离需大于250KM
- 参数
-
- 返回
- 生成的大地曲线
◆ geodesicLineWithPoints:count:
| + (nullable instancetype) geodesicLineWithPoints: |
|
(BMKMapPoint *) |
points |
| count: |
|
(geodesic(points:count:)) |
NS_SWIFT_NAME |
|
|
| |
根据指定两个坐标点生成大地曲线
- 参数
-
| points | 指定的直角坐标点数组 |
| count | 点的个数 |
- 返回
- 生成的大地曲线
◆ setGeodesicLineWithCoordinates:count:
| - (BOOL) setGeodesicLineWithCoordinates: |
|
(CLLocationCoordinate2D *) |
coords |
| count: |
|
(NSUInteger) |
count |
|
|
| |
重新设置坐标点.
- 参数
-
| coords | 指定的经纬度数组,C数组,内部会做copy,调用者负责内存管理。 |
| count | 坐标点的个数 |
- 返回
- 是否设置成功
◆ setGeodesicLineWithPoints:count:
| - (BOOL) setGeodesicLineWithPoints: |
|
(BMKMapPoint *) |
points |
| count: |
|
(NSUInteger) |
count |
|
|
| |
重新设置坐标点.
- 参数
-
| points | 指定的直角坐标点数组,C数组,内部会做copy,调用者负责内存管理。 |
| count | 坐标点的个数 |
- 返回
- 是否设置成功
该类的文档由以下文件生成: