BaiduMap_IOSSDK_v6.6.2_Docs 6.6.2
|
#include <BMKTraceOverlay.h>
构造函数 | |
(void) | - pauseTraceOverlayDraw |
暂停轨迹动画绘制 since 6.5.9 | |
(void) | - resumeTraceOverlayDraw |
继续轨迹动画绘制 since 6.5.9 | |
(BOOL) | - updateTraceOverlayCoordinates:count:option: |
(BOOL) | - updateTraceOverlayPoints:count:option: |
构造函数 继承自 BMKMultiPoint | |
(void) | - getCoordinates:range: |
构造函数 继承自 <BMKAnnotation> | |
(NSString *) | - title |
获取annotation标题 | |
(NSString *) | - subtitle |
获取annotation副标题 | |
(void) | - setCoordinate: |
构造函数 继承自 <BMKOverlay> | |
(BOOL) | - intersectsMapRect: |
类方法 | |
(nullable instancetype) | + traceOverlayWithCoordinates:count:option: |
(nullable instancetype) | + traceOverlayWithPoints:count:option: |
属性 | |
id< BMKTraceOverlayAnimationDelegate > | delegate |
动画代理 | |
BMKTraceOverlayOption * | overlayOption |
动画参数 | |
BOOL | isGradientColor |
是否使用渐变色 默认为NO since 6.5.7 | |
BOOL | isTrackBloom |
是否使用发光效果 默认为NO since 6.5.7 | |
CGFloat | bloomSpeed |
BOOL | onPauseStatus |
轨迹动画暂停状态 since 6.5.9 | |
BOOL | isStatusChanged |
当前轨迹的状态是否改变,标记轨迹是否从运行状态进入暂停状态。 since 6.5.9 | |
BOOL | isThined |
是否需要对TraceOverlay坐标数据进行抽稀,默认为YES | |
BOOL | isCornerSmooth |
是否需要对TraceOverlay坐标数据进拐角平滑,默认为YES | |
属性 继承自 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 |
- (void) pauseTraceOverlayDraw |
暂停轨迹动画绘制 since 6.5.9
- (void) resumeTraceOverlayDraw |
继续轨迹动画绘制 since 6.5.9
+ (nullable instancetype) traceOverlayWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
count: | (NSUInteger) | count | |
option: | (BMKTraceOverlayOption *) | overlayOption |
创建BMKTraceOverlay
coords | 经纬度坐标数组 |
count | 经纬度坐标数组大小 |
overlayOption | 动画参数 |
+ (nullable instancetype) traceOverlayWithPoints: | (BMKMapPoint *) | points | |
count: | (NSUInteger) | count | |
option: | (BMKTraceOverlayOption *) | overlayOption |
创建BMKTraceOverlay
points | 直角坐标数组 |
count | 直角坐标数组大小 |
overlayOption | 动画参数 |
- (BOOL) updateTraceOverlayCoordinates: | (CLLocationCoordinate2D *) | coords | |
count: | (NSUInteger) | count | |
option: | (BMKTraceOverlayOption *) | overlayOption |
更新BMKTraceOverlay
coords | 经纬度坐标数组 |
count | 经纬度坐标数组大小 |
overlayOption | 动画参数 |
- (BOOL) updateTraceOverlayPoints: | (CLLocationCoordinate2D *) | coords | |
count: | (NSUInteger) | count | |
option: | (BMKTraceOverlayOption *) | overlayOption |
更新BMKTraceOverlay
coords | 直角坐标数组 |
count | 直角坐标数组大小 |
overlayOption | 动画参数 |
|
readwritenonatomicassign |
轨迹发光参数 since 6.5.7 取值范围 [1.0f ~ 10.0f],默认值为 5.0f 注意:渐变发光模式下该属性生效
|
readwritenonatomicweak |
动画代理
|
readwritenonatomicassign |
是否需要对TraceOverlay坐标数据进拐角平滑,默认为YES
|
readwritenonatomicassign |
是否使用渐变色 默认为NO since 6.5.7
|
readnonatomicassign |
当前轨迹的状态是否改变,标记轨迹是否从运行状态进入暂停状态。 since 6.5.9
|
readwritenonatomicassign |
是否需要对TraceOverlay坐标数据进行抽稀,默认为YES
|
readwritenonatomicassign |
是否使用发光效果 默认为NO since 6.5.7
|
readnonatomicassign |
轨迹动画暂停状态 since 6.5.9
|
readnonatomicstrong |
动画参数