MGLAnnotationVerticalAlignment
enum MGLAnnotationVerticalAlignment {}
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 = 0
Swift
case center = 0
-
Aligns the annotation vertically at the top of the map view.
Declaration
Objective-C
MGLAnnotationVerticalAlignmentTop
Swift
case top = 1
-
Aligns the annotation vertically at the bottom of the map view.
Declaration
Objective-C
MGLAnnotationVerticalAlignmentBottom
Swift
case bottom = 2