MGLCircleTranslationAnchor
enum MGLCircleTranslationAnchor : NSUInteger {}
Controls the frame of reference for MGLCircleStyleLayer.circleTranslation
.
Values of this type are used in the MGLCircleStyleLayer.circleTranslationAnchor
property.
-
The circle is translated relative to the map.
Declaration
Objective-C
MGLCircleTranslationAnchorMap
Swift
case map = 0
-
The circle is translated relative to the viewport.
Declaration
Objective-C
MGLCircleTranslationAnchorViewport
Swift
case viewport = 1