MGLAnnotationVerticalAlignment
enum MGLAnnotationVerticalAlignment : NSUInteger {}
The vertical alignment of an annotation within a map view. Used with
MGLMapView.userLocationVerticalAlignment.
-
Aligns the annotation vertically in the center of the map view.
Declaration
Objective-C
MGLAnnotationVerticalAlignmentCenter = 0Swift
case center = 0 -
Aligns the annotation vertically at the top of the map view.
Declaration
Objective-C
MGLAnnotationVerticalAlignmentTopSwift
case top = 1 -
Aligns the annotation vertically at the bottom of the map view.
Declaration
Objective-C
MGLAnnotationVerticalAlignmentBottomSwift
case bottom = 2
Install in Dash
MGLAnnotationVerticalAlignment Enumeration Reference