MGLCircleTranslateAnchor
enum MGLCircleTranslateAnchor : NSUInteger {}
Controls the translation reference point.
Values of this type are used in the circleTranslateAnchor
property of MGLCircleStyleLayer
.
-
The circle is translated relative to the map.
Declaration
Objective-C
MGLCircleTranslateAnchorMap
Swift
case map = 0
-
The circle is translated relative to the viewport.
Declaration
Objective-C
MGLCircleTranslateAnchorViewport
Swift
case viewport = 1