MBMViewAnnotationAnchor
enum MBMViewAnnotationAnchor : NSInteger {}
Enum describing how to place view annotation relatively to geometry.
-
The top of the view annotation is placed closest to the geometry.
Declaration
Objective-C
MBMViewAnnotationAnchorTopSwift
case top = 0 -
The left side of the view annotation is placed closest to the geometry.
Declaration
Objective-C
MBMViewAnnotationAnchorLeftSwift
case left = 1 -
The bottom of the view annotation is placed closest to the geometry.
Declaration
Objective-C
MBMViewAnnotationAnchorBottomSwift
case bottom = 2 -
The right side of the view annotation is placed closest to the geometry.
Declaration
Objective-C
MBMViewAnnotationAnchorRightSwift
case right = 3 -
The top-left corner of the view annotation is placed closest to the geometry.
Declaration
Objective-C
MBMViewAnnotationAnchorTopLeftSwift
case topLeft = 4 -
The bottom-right corner of the view annotation is placed closest to the geometry.
Declaration
Objective-C
MBMViewAnnotationAnchorBottomRightSwift
case bottomRight = 5 -
The top-right corner of the view annotation is placed closest to the geometry.
Declaration
Objective-C
MBMViewAnnotationAnchorTopRightSwift
case topRight = 6 -
The bottom-left corner of the view annotation is placed closest to the geometry.
Declaration
Objective-C
MBMViewAnnotationAnchorBottomLeftSwift
case bottomLeft = 7 -
The center of the view annotation is placed closest to the geometry.
Declaration
Objective-C
MBMViewAnnotationAnchorCenterSwift
case center = 8
MBMViewAnnotationAnchor Enumeration Reference