OptionalcolorText color.
OptionalfontFont face(s) to use for the text.
OptionalhaloText halo (outline) color for better readability.
OptionalhaloText halo (outline) width in pixels.
OptionaloffsetText offset from the icon in ems.
Applies uniformly to all anchor positions (top, left, right). Positive values increase distance from icon.
OptionalsizeFont size in pixels.
OptionaltitleText content for the label.
Can be a function that extracts text from the place properties (data-based), or a MapLibre expression for data-driven content (data-driven layer-based).
Configuration for place text labels.
Controls how text labels are displayed next to place markers, including content, styling, and positioning.
Remarks
All text properties support both functions (for dynamic values) and MapLibre expressions (for data-driven styling).
Example