MGLFillTranslationAnchor
enum MGLFillTranslationAnchor : NSUInteger {}
Controls the translation reference point.
Values of this type are used in the MGLFillStyleLayer.fillTranslationAnchor
property.
-
The fill is translated relative to the map.
Declaration
Objective-C
MGLFillTranslationAnchorMap
Swift
case map = 0
-
The fill is translated relative to the viewport.
Declaration
Objective-C
MGLFillTranslationAnchorViewport
Swift
case viewport = 1