iOS SDK

API Reference

On This Page

MGLFillTranslationAnchor

enum MGLFillTranslationAnchor {}

Controls the frame of reference for MGLFillStyleLayer.fillTranslation.

Values of this type are used in the MGLFillStyleLayer.fillTranslationAnchor property.

MGLFillTranslationAnchorMap

The fill is translated relative to the map.

Declaration

Objective-C

MGLFillTranslationAnchorMap

Swift

case map = 0

MGLFillTranslationAnchorViewport

The fill is translated relative to the viewport.

Declaration

Objective-C

MGLFillTranslationAnchorViewport

Swift

case viewport = 1