MGLTextJustification

enum MGLTextJustification {}

Text justification options.

Values of this type are used in the MGLSymbolStyleLayer.textJustification property.

MGLTextJustificationAuto

The text is aligned towards the anchor position.

Declaration

Objective-C

MGLTextJustificationAuto

Swift

case auto = 0

MGLTextJustificationLeft

The text is aligned to the left.

Declaration

Objective-C

MGLTextJustificationLeft

Swift

case left = 1

MGLTextJustificationCenter

The text is centered.

Declaration

Objective-C

MGLTextJustificationCenter

Swift

case center = 2

MGLTextJustificationRight

The text is aligned to the right.

Declaration

Objective-C

MGLTextJustificationRight

Swift

case right = 3
iOS SDK

SDK JS Reference

On this page