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