MGLFillExtrusionTranslationAnchor

enum MGLFillExtrusionTranslationAnchor {}

Controls the frame of reference for MGLFillExtrusionStyleLayer.fillExtrusionTranslation.

Values of this type are used in the MGLFillExtrusionStyleLayer.fillExtrusionTranslationAnchor property.

MGLFillExtrusionTranslationAnchorMap

The fill extrusion is translated relative to the map.

Declaration

Objective-C

MGLFillExtrusionTranslationAnchorMap

Swift

case map = 0

MGLFillExtrusionTranslationAnchorViewport

The fill extrusion is translated relative to the viewport.

Declaration

Objective-C

MGLFillExtrusionTranslationAnchorViewport

Swift

case viewport = 1
iOS SDK

SDK JS Reference

On this page