MGLCircleScaleAlignment
enum MGLCircleScaleAlignment : NSUInteger {}
Controls the scaling behavior of the circle when the map is pitched.
Values of this type are used in the MGLCircleStyleLayer.circleScaleAlignment
property.
-
Circles are scaled according to their apparent distance to the camera.
Declaration
Objective-C
MGLCircleScaleAlignmentMap
Swift
case map = 0
-
Circles are not scaled.
Declaration
Objective-C
MGLCircleScaleAlignmentViewport
Swift
case viewport = 1