BaiduMap_IOSSDK_v7.2.0_Docs 7.2.0

枚举
BMKCommonDef.h 文件参考
`#import <Foundation/Foundation.h>`

浏览源代码.

## 枚举
enum | BMKLocate : NSUInteger { BMKLocateCenter = (0x1 << 0), BMKLocateTop = (0x1 << 1), BMKLocateBottom = (0x1 << 2), BMKLocateLeft = (0x1 << 3), BMKLocateRight = (0x1 << 4), BMKLocateLeftTop = (BMKLocateLeft | BMKLocateTop), BMKLocateLeftBottom = (BMKLocateLeft | BMKLocateBottom), BMKLocateRightTop = (BMKLocateRight | BMKLocateTop), BMKLocateRightBottom = (BMKLocateRight | BMKLocateBottom), BMKLocateHalfTop = (0x1 << 10), BMKLocateHalfBottom = (0x1 << 11), BMKLocateHalfLeft = (0x1 << 12), BMKLocateHalfRight = (0x1 << 13), BMKLocateHalfLeftTop = (BMKLocateHalfLeft | BMKLocateHalfTop), BMKLocateHalfLeftBottom = (BMKLocateHalfLeft | BMKLocateHalfBottom), BMKLocateHalfRightTop = (BMKLocateHalfRight | BMKLocateHalfTop), BMKLocateHalfRightBottom = (BMKLocateHalfRight | BMKLocateHalfBottom), BMKLocateAlignTop = (0x1 << 20), BMKLocateAlignBottom = (0x1 << 21), BMKLocateAlignLeft = (0x1 << 22), BMKLocateAlignRight = (0x1 << 23), BMKLocateAlignLeftTop = (BMKLocateAlignLeft | BMKLocateAlignTop), BMKLocateAlignLeftBottom = (BMKLocateAlignLeft | BMKLocateAlignBottom), BMKLocateAlignRightTop = (BMKLocateAlignRight | BMKLocateAlignTop), BMKLocateAlignRightBottom = (BMKLocateAlignRight | BMKLocateAlignBottom) }
enum | BMKCollisionBehavior : NSUInteger { BMKCollisionNotCollide = (0), BMKCollisionAlwaysShow = (0x1 << 0), BMKCollisionHideByPriority = (0x1 << 1), BMKCollisionWithInner = (0x1 << 2), BMKCollisionWithBasePoi = (0x1 << 3), BMKCollisionInnerAndBasePoi = (BMKCollisionWithInner | BMKCollisionWithBasePoi), BMKDodgeWithInner = (0x1 << 4), BMKCollisionExceptSelf = (0x1 << 6), BMKCollisionWithAllLayersByPriority = (0x1 << 9) }
enum | BMKAnimationTrack : NSUInteger { BMKAnimationTrackNone = (0x00), BMKAnimationTrackX = (0x01 << 0), BMKAnimationTrackY = (0x01 << 1), BMKAnimationTrackXY = (BMKAnimationTrackX | BMKAnimationTrackY), BMKAnimationTrackForward = (0x01 << 5), BMKAnimationTrackBackward = (0x01 << 6) }
enum | BMKRotateFeature : NSUInteger { BMKRotateAnmination = (0x1 << 0), BMKRotateItem = (0x1 << 1), BMKRotateScreenUpper = (0x1 << 2), BMKRotateGeoNorth = (0x1 << 3), BMKRotateFlipNo = (0x1 << 4), BMKRotateFlipUpper = (0x1 << 5), BMKRotateFreeze = BMKRotateAnmination | BMKRotateScreenUpper | BMKRotateFlipNo }
enum | BMKRotateAxis : NSUInteger { BMKFollowMapRotateAxisNone = (0x00), BMKFollowMapRotateAxisPitch = (0x1 << 0), BMKFollowMapRotateAxisYaw = (0x1 << 1) }

## 枚举类型说明

## ◆ BMKAnimationTrack

enum BMKAnimationTrack : NSUInteger

轨迹动画，跟随

枚举值
BMKAnimationTrackNone |
BMKAnimationTrackX |
BMKAnimationTrackY |
BMKAnimationTrackXY |
BMKAnimationTrackForward |
BMKAnimationTrackBackward |

## ◆ BMKCollisionBehavior

enum BMKCollisionBehavior : NSUInteger

碰撞和避让的行为

Note: 碰撞（Collision）：优先级低的点会被'碰掉' 避让（Dodge） ：仅是避让，不会被碰掉

枚举值
BMKCollisionNotCollide |
BMKCollisionAlwaysShow |
BMKCollisionHideByPriority |
BMKCollisionWithInner |
BMKCollisionWithBasePoi |
BMKCollisionInnerAndBasePoi |
BMKDodgeWithInner |
BMKCollisionExceptSelf |
BMKCollisionWithAllLayersByPriority |

## ◆ BMKLocate

enum BMKLocate : NSUInteger

绘制元素位于「基准Anchor」的方位；

如果是Marker，则是Marker位于坐标点Pt的方位。 如果是RichView，则是RichView位于Marker的方位。

枚举值
BMKLocateCenter |
BMKLocateTop |
BMKLocateBottom |
BMKLocateLeft |
BMKLocateRight |
BMKLocateLeftTop |
BMKLocateLeftBottom |
BMKLocateRightTop |
BMKLocateRightBottom |
BMKLocateHalfTop |
BMKLocateHalfBottom |
BMKLocateHalfLeft |
BMKLocateHalfRight |
BMKLocateHalfLeftTop |
BMKLocateHalfLeftBottom |
BMKLocateHalfRightTop |
BMKLocateHalfRightBottom |
BMKLocateAlignTop |
BMKLocateAlignBottom |
BMKLocateAlignLeft |
BMKLocateAlignRight |
BMKLocateAlignLeftTop |
BMKLocateAlignLeftBottom |
BMKLocateAlignRightTop |
BMKLocateAlignRightBottom |

## ◆ BMKRotateAxis

enum BMKRotateAxis : NSUInteger

- 跟随地图的旋转轴

枚举值
BMKFollowMapRotateAxisNone |
BMKFollowMapRotateAxisPitch | Default
BMKFollowMapRotateAxisYaw | 对应 MapStatus._Overlooking

## ◆ BMKRotateFeature

enum BMKRotateFeature : NSUInteger

对Marker旋转，起作用的方式

枚举值
BMKRotateAnmination |
BMKRotateItem | 使用动画Rotate，(Default)
BMKRotateScreenUpper | 使用外部设置的Rotate
BMKRotateGeoNorth | 旋转基准是屏幕正上方 (Default)
BMKRotateFlipNo | 旋转基准是地理北方向
BMKRotateFlipUpper | 不翻转2D图片 (Default)
BMKRotateFreeze | 翻转2D图片