15NS_ASSUME_NONNULL_BEGIN
17@protocol BMKTraceOverlayAnimationDelegate <NSObject>
26- (void)traceOverlay:(
BMKTraceOverlay *)traceOverlay animationRunningProgress:(CGFloat)progress;
31- (void)traceOverlay:(
BMKTraceOverlay *)traceOverlay animationTraceMovePosition:(CLLocationCoordinate2D)position;
36- (void)traceOverlay:(
BMKTraceOverlay *)traceOverlay animationDidEnd:(BOOL)flag;
42@property (nonatomic, weak, nullable) id<BMKTraceOverlayAnimationDelegate>
delegate;
72+ (nullable instancetype)traceOverlayWithCoordinates:(CLLocationCoordinate2D *)coords
73 count:(NSUInteger)count
80+ (nullable instancetype)traceOverlayWithPoints:(
BMKMapPoint *)points
81 count:(NSUInteger)count
88- (BOOL)updateTraceOverlayCoordinates:(CLLocationCoordinate2D *)coords
89 count:(NSUInteger)count
96- (BOOL)updateTraceOverlayPoints:(CLLocationCoordinate2D *)coords
97 count:(NSUInteger)count
该类定义多个点,是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类BMKPolyline,BMKPolygon来实例化
Definition BMKMultiPoint.h:18
Definition BMKTraceOverlay.h:40
BMKTraceOverlayOption * overlayOption
动画参数
Definition BMKTraceOverlay.h:44
CGFloat bloomSpeed
Definition BMKTraceOverlay.h:52
BOOL isGradientColor
是否使用渐变色 默认为NO since 6.5.7
Definition BMKTraceOverlay.h:46
BOOL isTrackBloom
是否使用发光效果 默认为NO since 6.5.7
Definition BMKTraceOverlay.h:48
void resumeTraceOverlayDraw()
继续轨迹动画绘制 since 6.5.9
BOOL isCornerSmooth
是否需要对TraceOverlay坐标数据进拐角平滑,默认为YES
Definition BMKTraceOverlay.h:66
BOOL isStatusChanged
当前轨迹的状态是否改变,标记轨迹是否从运行状态进入暂停状态。 since 6.5.9
Definition BMKTraceOverlay.h:56
BOOL onPauseStatus
轨迹动画暂停状态 since 6.5.9
Definition BMKTraceOverlay.h:54
void pauseTraceOverlayDraw()
暂停轨迹动画绘制 since 6.5.9
BOOL isThined
是否需要对TraceOverlay坐标数据进行抽稀,默认为YES
Definition BMKTraceOverlay.h:64
id< BMKTraceOverlayAnimationDelegate > delegate
动画代理
Definition BMKTraceOverlay.h:42
Definition BMKTraceOverlayOption.h:38
该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
Definition BMKOverlay.h:17
地理坐标点,用直角地理坐标表示
Definition BMKTypes.h:189