MGLFillExtrusionTranslationAnchor
enum MGLFillExtrusionTranslationAnchor {}
Controls the frame of reference for
MGLFillExtrusionStyleLayer.fillExtrusionTranslation
.
Values of this type are used in the MGLFillExtrusionStyleLayer.fillExtrusionTranslationAnchor
property.
-
The fill extrusion is translated relative to the map.
Declaration
Objective-C
MGLFillExtrusionTranslationAnchorMap
Swift
case map = 0
-
The fill extrusion is translated relative to the viewport.
Declaration
Objective-C
MGLFillExtrusionTranslationAnchorViewport
Swift
case viewport = 1