MGLIconTranslationAnchor
enum MGLIconTranslationAnchor {}
Controls the frame of reference for MGLSymbolStyleLayer.iconTranslation.
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 Enumeration Reference