MGLLineTranslateAnchor
enum MGLLineTranslateAnchor : NSUInteger {}
Controls the translation reference point.
Values of this type are used in the MGLLineStyleLayer.lineTranslateAnchor
property.
-
The line is translated relative to the map.
Declaration
Objective-C
MGLLineTranslateAnchorMap
Swift
case map = 0
-
The line is translated relative to the viewport.
Declaration
Objective-C
MGLLineTranslateAnchorViewport
Swift
case viewport = 1