iOS SDK

API Reference

On This Page

MGLCircleScaleAlignment

enum MGLCircleScaleAlignment {}

Controls the scaling behavior of the circle when the map is pitched.

Values of this type are used in the MGLCircleStyleLayer.circleScaleAlignment property.

MGLCircleScaleAlignmentMap

Circles are scaled according to their apparent distance to the camera.

Declaration

Objective-C

MGLCircleScaleAlignmentMap

Swift

case map = 0

MGLCircleScaleAlignmentViewport

Circles are not scaled.

Declaration

Objective-C

MGLCircleScaleAlignmentViewport

Swift

case viewport = 1