OptionalallowIf true, the text will be visible even if it collides with other previously drawn symbols.
OptionalanchorThe anchor position of the label referred to the center of the geometry.
OptionalavoidThis is a property relevant if using tiled datasets. If true, the symbols will not cross tile edges to avoid mutual collisions.
OptionalcolorA color defined as a hex-color string.
OptionalfontAn Array of fonts. Comparable to https://www.w3schools.com/cssref/pr_font_font-family.asp
OptionalfontSpecifies whether a font should be styled with a normal, italic, or oblique face from its font-family.
OptionalfontSpecifies the weight (or boldness) of the font. The weights available depend on the font-family you are using.
OptionalhaloThe halo's fadeout distance towards the outside.
OptionalhaloThe color of the text's halo, which helps it stand out from backgrounds represented as a hex-color string.
OptionalhaloThe opacity of the halo. A value between 0 and 1. 0 means no opacity (i.e. transparent) and 1 is fully opaque.
OptionalhaloDistance of halo to the font outline (pixels if haloWidthUnit is not defined).
OptionalhaloUnit to use for the haloWidth.
OptionaljustifyText justification option to align the text.
OptionalkeepIf true, the text will be kept upright.
Describes the type of the kind of the Symbolizer.
OptionallabelTemplate string where {{PROPERTYNAME}} can be used to be replaced by values from the dataset. e.g.: "Name {{country_name}}"
OptionalletterSets the spacing between text characters (pixels if letterSpacingUnit is not defined).
OptionalletterUnit to use for the letterSpacing.
OptionallineSets the line height (pixels if lineHeightUnit is not defined). 'em' -> fontsize
OptionallineUnit to use for the lineHeight. 'em' -> fontsize
OptionalmaxMaximum angle change between adjacent characters in degrees.
OptionalmaxThe maximum line width for text wrapping.
OptionaloffsetThe offset of the Symbolizer as [x, y] coordinates. Positive values indicate right and down, while negative values indicate left and up.
OptionaloffsetProperty relevant for mapbox-styles. Compare https://docs.mapbox.com/mapbox-gl-js/style-spec/#paint-symbol-icon-translate-anchor
OptionalopacityDetermines the total opacity for the Symbolizer. A value between 0 and 1. 0 is none opaque and 1 is full opaque.
OptionaloptionalProperty relevant for mapbox-styles. If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.
OptionalpaddingSize of the additional area around the text bounding box used for detecting symbol collisions.
OptionalperpendicularIf placement is 'line', it makes the renderer offset the text parallel to the line, at the given distance. Positive values generate an offset parallel to the line on the left hand side, negative values on the right hand side.
OptionalpitchProperty relevant for mapbox-styles. Compare https://docs.mapbox.com/mapbox-gl-js/style-spec/#layout-symbol-text-pitch-alignment
OptionalplacementSpecifies label placement relative to its geometry.
OptionalrotateThe rotation of the Symbolizer in degrees. Value should be between 0 and 360.
OptionalrotationProperty relevant for mapbox-styles. Compare https://docs.mapbox.com/mapbox-gl-js/style-spec/#layout-symbol-text-rotation-alignment
OptionalsizeThe fontsize (pixels if sizeUnit is not defined).
OptionalsizeUnit to use for the size. If missing, pixels are assumed.
OptionaltransformSpecifies how to capitalize text, similar to the CSS text-transform property.
OptionalvisibilityDefines whether the Symbolizer should be visibile or not.
The TextSymbolizer describes the style representation of point data, if styled with a text.