DingiLineTranslationAnchor

enum DingiLineTranslationAnchor {}

Controls the frame of reference for DingiLineStyleLayer.lineTranslation.

Values of this type are used in the DingiLineStyleLayer.lineTranslationAnchor property.

  • The line is translated relative to the map.

    Declaration

    Objective-C

    DingiLineTranslationAnchorMap

    Swift

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

    Declaration

    Objective-C

    DingiLineTranslationAnchorViewport

    Swift

    case viewport = 1