MGLTextTranslationAnchor
enum MGLTextTranslationAnchor {}
Controls the translation reference point.
Values of this type are used in the MGLSymbolStyleLayer.textTranslationAnchor
property.
-
The text is translated relative to the map.
Declaration
Objective-C
MGLTextTranslationAnchorMap
Swift
case map = 0
-
The text is translated relative to the viewport.
Declaration
Objective-C
MGLTextTranslationAnchorViewport
Swift
case viewport = 1