iOS SDK

API Reference

On This Page

MGLTextTransform

enum MGLTextTransform {}

Specifies how to capitalize text.

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

MGLTextTransformNone

The text is not altered.

Declaration

Objective-C

MGLTextTransformNone

Swift

case none = 0

MGLTextTransformUppercase

Forces all letters to be displayed in uppercase.

Declaration

Objective-C

MGLTextTransformUppercase

Swift

case uppercase = 1

MGLTextTransformLowercase

Forces all letters to be displayed in lowercase.

Declaration

Objective-C

MGLTextTransformLowercase

Swift

case lowercase = 2