MGLSymbolStyleLayerIconTranslateAnchor
enum MGLSymbolStyleLayerIconTranslateAnchor : NSUInteger {}
Controls the translation reference point.
-
Icons are translated relative to the map.
Declaration
Objective-C
MGLSymbolStyleLayerIconTranslateAnchorMap
Swift
case map = 0
-
Icons are translated relative to the viewport.
Declaration
Objective-C
MGLSymbolStyleLayerIconTranslateAnchorViewport
Swift
case viewport = 1