TencentMapSDK_iOS_3D_v6.7.0

QAnnotatioViewDefines.h
1 //
2 // QAnnotatioViewDefines.h
3 // QMapKit
4 //
5 // Created by Keith Cao on 2023/11/29.
6 // Copyright © 2023 tencent. All rights reserved.
7 //
8
9 #ifndef QAnnotatioViewDefines_h
10 #define QAnnotatioViewDefines_h
11
12 #import <UIKit/UIKit.h>
13
18 typedef enum {
19 QAnnotationViewDragStateNone = 0,
20 QAnnotationViewDragStateStarting,
21 QAnnotationViewDragStateDragging,
22 QAnnotationViewDragStateCanceling,
23 QAnnotationViewDragStateEnding
24 } QAnnotationViewDragState;
25
30 typedef NS_OPTIONS(NSUInteger, QAnnotationViewCollisionType){
31 QAnnotationViewCollisionTypeNone = 0,
32 QAnnotationViewCollisionWithLabel = 1 << 0,
33 QAnnotationViewCollisionWithQAnnotationView = 1 << 1
34 };
35
40 typedef NS_ENUM(NSInteger, QAnnotationViewCollisionRelation){
41 QAnnotationViewCollisionRelationAlone = 0,
42 QAnnotationViewCollisionRelationTogether
43 };
44
48 @protocol QAnnotationViewCollisionDelegate <NSObject>
49
50 @required
51
52 // 碰撞类型
53 @property (nonatomic, assign) QAnnotationViewCollisionType collisionType;
54
55 @end
56
57 #endif /* QAnnotatioViewDefines_h */
QAnnotationViewCollisionDelegate-p
QAnnotationView碰撞协议
Definition: QAnnotatioViewDefines.h:48