MGLSymbolStyleLayerTextAnchor
enum MGLSymbolStyleLayerTextAnchor : NSUInteger {}
Part of the text placed closest to the anchor.
-
The center of the text is placed closest to the anchor.
Declaration
Objective-C
MGLSymbolStyleLayerTextAnchorCenter
Swift
case center = 0
-
The left side of the text is placed closest to the anchor.
Declaration
Objective-C
MGLSymbolStyleLayerTextAnchorLeft
Swift
case left = 1
-
The right side of the text is placed closest to the anchor.
Declaration
Objective-C
MGLSymbolStyleLayerTextAnchorRight
Swift
case right = 2
-
The top of the text is placed closest to the anchor.
Declaration
Objective-C
MGLSymbolStyleLayerTextAnchorTop
Swift
case top = 3
-
The bottom of the text is placed closest to the anchor.
Declaration
Objective-C
MGLSymbolStyleLayerTextAnchorBottom
Swift
case bottom = 4
-
The top left corner of the text is placed closest to the anchor.
Declaration
Objective-C
MGLSymbolStyleLayerTextAnchorTopLeft
Swift
case topLeft = 5
-
The top right corner of the text is placed closest to the anchor.
Declaration
Objective-C
MGLSymbolStyleLayerTextAnchorTopRight
Swift
case topRight = 6
-
The bottom left corner of the text is placed closest to the anchor.
Declaration
Objective-C
MGLSymbolStyleLayerTextAnchorBottomLeft
Swift
case bottomLeft = 7
-
The bottom right corner of the text is placed closest to the anchor.
Declaration
Objective-C
MGLSymbolStyleLayerTextAnchorBottomRight
Swift
case bottomRight = 8