MGLTextTranslationAnchor
enum MGLTextTranslationAnchor {}
Controls the frame of reference for MGLSymbolStyleLayer.textTranslation.
Values of this type are used in the MGLSymbolStyleLayer.textTranslationAnchor
property.
-
The text is translated relative to the map.
Declaration
Objective-C
MGLTextTranslationAnchorMapSwift
case map = 0 -
The text is translated relative to the viewport.
Declaration
Objective-C
MGLTextTranslationAnchorViewportSwift
case viewport = 1
Install in Dash
MGLTextTranslationAnchor Enumeration Reference