MGLIconTranslationAnchor
enum MGLIconTranslationAnchor : NSUInteger {}
Controls the translation reference point.
Values of this type are used in the MGLSymbolStyleLayer.iconTranslationAnchor
property.
-
Icons are translated relative to the map.
Declaration
Objective-C
MGLIconTranslationAnchorMap
Swift
case map = 0
-
Icons are translated relative to the viewport.
Declaration
Objective-C
MGLIconTranslationAnchorViewport
Swift
case viewport = 1