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
MGLIconTranslationAnchorMapSwift
case map = 0 -
Icons are translated relative to the viewport.
Declaration
Objective-C
MGLIconTranslationAnchorViewportSwift
case viewport = 1
Install in Dash
MGLIconTranslationAnchor Enum Reference