BaiduMap_IOSSDK_v6.6.5_Docs 6.6.5
载入中...
搜索中...
未找到
BMKCommonDef.h
浏览该文件的文档.
1//
2// BMKCommonDef.h
3// MapComponent
4//
5// Created by zhaoxiangru on 2024/3/12.
6// Copyright © 2024 Baidu. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12
19typedef enum : NSUInteger {
20 // 相对于基准点的方位
21 BMKLocateCenter = (0x1 << 0), // Center_X & Center_Y
22 BMKLocateTop = (0x1 << 1), // Top_Y & Center_X
23 BMKLocateBottom = (0x1 << 2), // Bottom_Y & Center_X
24 BMKLocateLeft = (0x1 << 3), // Left_X & Center_Y
25 BMKLocateRight = (0x1 << 4), // Right_X & Center_Y
26
31
32 // 相对于基准点的 1/2 处
33 BMKLocateHalfTop = (0x1 << 10), // Top_Y/2 & Center_X
34 BMKLocateHalfBottom = (0x1 << 11), // Bottom_Y/2 & Center_X
35 BMKLocateHalfLeft = (0x1 << 12), // Left_X/2 & Center_Y
36 BMKLocateHalfRight = (0x1 << 13), // Right_X/2 & Center_Y
37
42
43 // 与基准点对齐
44 BMKLocateAlignTop = (0x1 << 20), // the same Top_Y as Anchor
45 BMKLocateAlignBottom = (0x1 << 21), // the same Bottom_Y as Anchor
46 BMKLocateAlignLeft = (0x1 << 22), // the same Left_X as Anchor
47 BMKLocateAlignRight = (0x1 << 23), // the same Right_X as Anchor
48
53
54// BMKLocateAlignAuto = (0x1 << 30),
55} BMKLocate;
56
57
64typedef enum : NSUInteger {
65 BMKCollisionNotCollide = (0), // 不参与碰撞
66 BMKCollisionAlwaysShow = (0x1 << 0), // 参与碰撞,但强制显示
67 BMKCollisionHideByPriority = (0x1 << 1), // 参与碰撞,根据碰撞优先级决定是否显示
68 BMKCollisionWithInner = (0x1 << 2), // BmLayer内部点碰撞
69 BMKCollisionWithBasePoi = (0x1 << 3), // BmLayer与底图的POI进行碰撞,碰掉底图的POI
70 // BmLayer内部的点先碰撞,再与底图的POI进行碰撞,最后碰掉底图的POI
72 BMKDodgeWithInner = (0x1 << 4), // BmLayer内部点避让
73// BMKDodgeWithBasePoi = (0x1 << 5), // BmLayer与底图的POI进行避让(暂未实现)
74 // BmLayer内部点先避让,再与底图的POI进行碰撞,碰掉底图的POI(暂未实现)
75// BMKDodgeInnerAndBasePoi = (bmkMapDodgeWithInner | bmkMapDodgeWithBasePoi),
76 BMKCollisionExceptSelf = (0x1 << 6), // 当前要素不参与碰撞, marker和richview可分别设置为不参与碰撞
77// BMKCollisionBetweenBmLayer = (0x1 << 7), // 仅BmLayer之间的POI碰,不与底图碰(暂未实现)
78// BMKCollisionWithBasePoiByPriority = (0x1 << 8), // 当前BmLayer与底图的POI按优先级碰(暂未实现)
79 BMKCollisionWithAllLayersByPriority = (0x1 << 9), // 所有图层都碰撞,按优先级碰
81
85typedef enum : NSUInteger {
87 BMKAnimationTrackX = (0x01 << 0), // 跟随X方向
88 BMKAnimationTrackY = (0x01 << 1), // 跟随Y方向
90 BMKAnimationTrackForward = (0x01 << 5), // 线段的Forward,而不是行进的Forward
91 BMKAnimationTrackBackward = (0x01 << 6), // 线段的Backward,而不是行进的Backward
93
97typedef enum : NSUInteger {
98 // 二者能只能设置其一
99 BMKRotateAnmination = (0x1 << 0),
100 BMKRotateItem = (0x1 << 1),
102 // 二者能只能设置其一
103 BMKRotateScreenUpper = (0x1 << 2),
104 BMKRotateGeoNorth = (0x1 << 3),
106 // 二者能只能设置其一
107 BMKRotateFlipNo = (0x1 << 4),
108 BMKRotateFlipUpper = (0x1 << 5),
110 // Default
113
117typedef enum : NSUInteger {
122
123
124NS_ASSUME_NONNULL_END
BMKAnimationTrack
Definition BMKCommonDef.h:85
@ BMKAnimationTrackForward
Definition BMKCommonDef.h:90
@ BMKAnimationTrackY
Definition BMKCommonDef.h:88
@ BMKAnimationTrackXY
Definition BMKCommonDef.h:89
@ BMKAnimationTrackX
Definition BMKCommonDef.h:87
@ BMKAnimationTrackNone
Definition BMKCommonDef.h:86
@ BMKAnimationTrackBackward
Definition BMKCommonDef.h:91
BMKLocate
Definition BMKCommonDef.h:19
@ BMKLocateAlignTop
Definition BMKCommonDef.h:44
@ BMKLocateRight
Definition BMKCommonDef.h:25
@ BMKLocateHalfLeftBottom
Definition BMKCommonDef.h:39
@ BMKLocateHalfBottom
Definition BMKCommonDef.h:34
@ BMKLocateLeftBottom
Definition BMKCommonDef.h:28
@ BMKLocateBottom
Definition BMKCommonDef.h:23
@ BMKLocateAlignLeftBottom
Definition BMKCommonDef.h:50
@ BMKLocateRightTop
Definition BMKCommonDef.h:29
@ BMKLocateHalfLeft
Definition BMKCommonDef.h:35
@ BMKLocateCenter
Definition BMKCommonDef.h:21
@ BMKLocateAlignLeftTop
Definition BMKCommonDef.h:49
@ BMKLocateAlignRightBottom
Definition BMKCommonDef.h:52
@ BMKLocateHalfRightBottom
Definition BMKCommonDef.h:41
@ BMKLocateHalfRightTop
Definition BMKCommonDef.h:40
@ BMKLocateAlignLeft
Definition BMKCommonDef.h:46
@ BMKLocateHalfLeftTop
Definition BMKCommonDef.h:38
@ BMKLocateAlignRightTop
Definition BMKCommonDef.h:51
@ BMKLocateLeft
Definition BMKCommonDef.h:24
@ BMKLocateLeftTop
Definition BMKCommonDef.h:27
@ BMKLocateAlignBottom
Definition BMKCommonDef.h:45
@ BMKLocateHalfTop
Definition BMKCommonDef.h:33
@ BMKLocateTop
Definition BMKCommonDef.h:22
@ BMKLocateHalfRight
Definition BMKCommonDef.h:36
@ BMKLocateRightBottom
Definition BMKCommonDef.h:30
@ BMKLocateAlignRight
Definition BMKCommonDef.h:47
BMKRotateFeature
Definition BMKCommonDef.h:97
@ BMKRotateFreeze
Definition BMKCommonDef.h:111
@ BMKRotateFlipNo
Definition BMKCommonDef.h:107
@ BMKRotateAnmination
Definition BMKCommonDef.h:99
@ BMKRotateScreenUpper
Definition BMKCommonDef.h:103
@ BMKRotateItem
Definition BMKCommonDef.h:100
@ BMKRotateGeoNorth
Definition BMKCommonDef.h:104
@ BMKRotateFlipUpper
Definition BMKCommonDef.h:108
BMKRotateAxis
Definition BMKCommonDef.h:117
@ BMKFollowMapRotateAxisPitch
Definition BMKCommonDef.h:119
@ BMKFollowMapRotateAxisNone
Definition BMKCommonDef.h:118
@ BMKFollowMapRotateAxisYaw
Definition BMKCommonDef.h:120
BMKCollisionBehavior
Definition BMKCommonDef.h:64
@ BMKCollisionNotCollide
Definition BMKCommonDef.h:65
@ BMKCollisionWithBasePoi
Definition BMKCommonDef.h:69
@ BMKCollisionAlwaysShow
Definition BMKCommonDef.h:66
@ BMKCollisionWithInner
Definition BMKCommonDef.h:68
@ BMKCollisionExceptSelf
Definition BMKCommonDef.h:76
@ BMKDodgeWithInner
Definition BMKCommonDef.h:72
@ BMKCollisionWithAllLayersByPriority
Definition BMKCommonDef.h:79
@ BMKCollisionHideByPriority
Definition BMKCommonDef.h:67
@ BMKCollisionInnerAndBasePoi
Definition BMKCommonDef.h:71