MGLCircleTranslationAnchor

enum MGLCircleTranslationAnchor {}

Controls the frame of reference for MGLCircleStyleLayer.circleTranslation.

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

MGLCircleTranslationAnchorMap

The circle is translated relative to the map.

Declaration

Objective-C

MGLCircleTranslationAnchorMap

Swift

case map = 0

MGLCircleTranslationAnchorViewport

The circle is translated relative to the viewport.

Declaration

Objective-C

MGLCircleTranslationAnchorViewport

Swift

case viewport = 1
iOS SDK

SDK JS Reference

On this page