MGLLineTranslationAnchor
enum MGLLineTranslationAnchor {}
Controls the frame of reference for MGLLineStyleLayer.lineTranslation.
Values of this type are used in the MGLLineStyleLayer.lineTranslationAnchor
property.
-
The line is translated relative to the map.
Declaration
Objective-C
MGLLineTranslationAnchorMapSwift
case map = 0 -
The line is translated relative to the viewport.
Declaration
Objective-C
MGLLineTranslationAnchorViewportSwift
case viewport = 1
Install in Dash
MGLLineTranslationAnchor Enumeration Reference