DingiTextTranslationAnchor

enum DingiTextTranslationAnchor {}

Controls the frame of reference for DingiSymbolStyleLayer.textTranslation.

Values of this type are used in the DingiSymbolStyleLayer.textTranslationAnchor property.

  • The text is translated relative to the map.

    Declaration

    Objective-C

    DingiTextTranslationAnchorMap

    Swift

    case map = 0
  • The text is translated relative to the viewport.

    Declaration

    Objective-C

    DingiTextTranslationAnchorViewport

    Swift

    case viewport = 1