textPitchAlignment property

dynamic textPitchAlignment
final

Orientation of text when map is pitched.

Type: enum default: auto Options: "map" The text is aligned to the plane of the map. "viewport" The text is aligned to the plane of the viewport. "auto" Automatically matches the value of text-rotation-alignment.

Sdk Support: basic functionality with js, android, ios, macos

Implementation

final dynamic textPitchAlignment;