BaiduMap_IOSSDK_v6.6.6_Docs 6.6.6

载入中...
搜索中...
未找到
BMK3DTraceOverlay.h
浏览该文件的文档.
1//
2// BMK3DTraceOverlay.h
3// MapComponent
4//
5// Created by Baidu on 2023/10/8.
6// Copyright © 2023 Baidu. All rights reserved.
7//
8
9#import "BMKMultiPoint.h"
10#import "BMKOverlay.h"
11#import "BMK3DTraceOverlayOption.h"
12
13@class BMK3DTraceOverlay;
14
15NS_ASSUME_NONNULL_BEGIN
16
17
18@protocol BMK3DTraceOverlayAnimationDelegate <NSObject>
19
20@optional
22- (void)traceOverlayAnimationDidStart:(BMK3DTraceOverlay *)traceOverlay;
23
27- (void)traceOverlay:(BMK3DTraceOverlay *)traceOverlay animationRunningProgress:(CGFloat)progress;
28
32- (void)traceOverlay:(BMK3DTraceOverlay *)traceOverlay animationTraceMovePosition:(CLLocationCoordinate2D)position;
33
37- (void)traceOverlay:(BMK3DTraceOverlay *)traceOverlay animationDidEnd:(BOOL)flag;
38
39@end
40
41
44@interface BMK3DTraceOverlay : BMKMultiPoint <BMKOverlay>
45
47@property (nonatomic, weak, nullable) id<BMK3DTraceOverlayAnimationDelegate> delegate;
49@property (nonatomic, strong, readonly) BMK3DTraceOverlayOption *overlayOption;
51@property (nonatomic, assign, readonly) BOOL onPauseStatus;
53@property (nonatomic, assign, readonly) CGFloat progress;
54
56- (void)pause3DTraceOverlayDraw;
58- (void)resume3DTraceOverlayDraw;
59
64+ (nullable instancetype)traceOverlay3DWithCoordinates:(CLLocationCoordinate2D *)coords
65 count:(NSUInteger)count
66 option:(BMK3DTraceOverlayOption *)overlayOption;
67
72+ (nullable instancetype)traceOverlay3DWithPoints:(BMKMapPoint *)points
73 count:(NSUInteger)count
74 option:(BMK3DTraceOverlayOption *)overlayOption;
75@end
76
77NS_ASSUME_NONNULL_END
BMK3DTraceOverlayOption.h
BMKMultiPoint.h
BMKOverlay.h
BMK3DTraceOverlay
Definition BMK3DTraceOverlay.h:44
-[BMK3DTraceOverlay resume3DTraceOverlayDraw]
void resume3DTraceOverlayDraw()
继续轨迹动画绘制
BMK3DTraceOverlay::progress
CGFloat progress
轨迹动画进度 0.0~1.0
Definition BMK3DTraceOverlay.h:53
BMK3DTraceOverlay::overlayOption
BMK3DTraceOverlayOption * overlayOption
option参数
Definition BMK3DTraceOverlay.h:49
BMK3DTraceOverlay::onPauseStatus
BOOL onPauseStatus
轨迹动画暂停状态
Definition BMK3DTraceOverlay.h:51
BMK3DTraceOverlay::delegate
id< BMK3DTraceOverlayAnimationDelegate > delegate
动画代理
Definition BMK3DTraceOverlay.h:47
-[BMK3DTraceOverlay pause3DTraceOverlayDraw]
void pause3DTraceOverlayDraw()
暂停轨迹动画绘制
BMK3DTraceOverlayOption
3D动画轨迹线Option
Definition BMK3DTraceOverlayOption.h:33
BMKMultiPoint
该类定义多个点，是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类BMKPolyline,BMKPolygon来实例化
Definition BMKMultiPoint.h:18
BMKOverlay-p
该类是地图覆盖物的基类，所有地图的覆盖物需要继承自此类
Definition BMKOverlay.h:17
BMKMapPoint
地理坐标点，用直角地理坐标表示
Definition BMKTypes.h:222