SymbolLayer

An icon or a text label.

See also

<a href="https://maplibre.org/maplibre-style-spec/#layers-symbol">The online documentation</a>

Constructors

Link copied to clipboard
constructor(layerId: String, sourceId: String)
Creates a SymbolLayer.

Properties

Link copied to clipboard
open val nativePtr: Long

Functions

Link copied to clipboard
Get a single expression filter.
Link copied to clipboard
Get the IconAllowOverlap property
Link copied to clipboard
Get the IconAnchor property
Link copied to clipboard
Get the IconColor property
Link copied to clipboard
The color of the icon.
Link copied to clipboard
Get the IconColor property transition options
Link copied to clipboard
Get the IconHaloBlur property
Link copied to clipboard
Get the IconHaloBlur property transition options
Link copied to clipboard
Get the IconHaloColor property
Link copied to clipboard
The color of the icon's halo.
Link copied to clipboard
Get the IconHaloColor property transition options
Link copied to clipboard
Get the IconHaloWidth property
Link copied to clipboard
Get the IconHaloWidth property transition options
Link copied to clipboard
Get the IconIgnorePlacement property
Link copied to clipboard
Get the IconImage property
Link copied to clipboard
Get the IconKeepUpright property
Link copied to clipboard
Get the IconOffset property
Link copied to clipboard
Get the IconOpacity property
Link copied to clipboard
Get the IconOpacity property transition options
Link copied to clipboard
Get the IconOptional property
Link copied to clipboard
Get the IconPadding property
Link copied to clipboard
Get the IconPitchAlignment property
Link copied to clipboard
Get the IconRotate property
Link copied to clipboard
Get the IconRotationAlignment property
Link copied to clipboard
Get the IconSize property
Link copied to clipboard
Get the IconTextFit property
Link copied to clipboard
Get the IconTextFitPadding property
Link copied to clipboard
Get the IconTranslate property
Link copied to clipboard
Get the IconTranslateAnchor property
Link copied to clipboard
Get the IconTranslate property transition options
Link copied to clipboard
open fun getId(): String
Link copied to clipboard
open fun getMaxZoom(): Float
Link copied to clipboard
open fun getMinZoom(): Float
Link copied to clipboard
Get the source id.
Link copied to clipboard
Get the source layer.
Link copied to clipboard
Get the SymbolAvoidEdges property
Link copied to clipboard
Get the SymbolPlacement property
Link copied to clipboard
Get the SymbolSortKey property
Link copied to clipboard
Get the SymbolSpacing property
Link copied to clipboard
Get the SymbolZOrder property
Link copied to clipboard
Get the TextAllowOverlap property
Link copied to clipboard
Get the TextAnchor property
Link copied to clipboard
Get the TextColor property
Link copied to clipboard
The color with which the text will be drawn.
Link copied to clipboard
Get the TextColor property transition options
Link copied to clipboard
Get the TextField property
Link copied to clipboard
Get the TextFont property
Link copied to clipboard
Get the TextHaloBlur property
Link copied to clipboard
Get the TextHaloBlur property transition options
Link copied to clipboard
Get the TextHaloColor property
Link copied to clipboard
The color of the text's halo, which helps it stand out from backgrounds.
Link copied to clipboard
Get the TextHaloColor property transition options
Link copied to clipboard
Get the TextHaloWidth property
Link copied to clipboard
Get the TextHaloWidth property transition options
Link copied to clipboard
Get the TextIgnorePlacement property
Link copied to clipboard
Get the TextJustify property
Link copied to clipboard
Get the TextKeepUpright property
Link copied to clipboard
Get the TextLetterSpacing property
Link copied to clipboard
Get the TextLineHeight property
Link copied to clipboard
Get the TextMaxAngle property
Link copied to clipboard
Get the TextMaxWidth property
Link copied to clipboard
Get the TextOffset property
Link copied to clipboard
Get the TextOpacity property
Link copied to clipboard
Get the TextOpacity property transition options
Link copied to clipboard
Get the TextOptional property
Link copied to clipboard
Get the TextPadding property
Link copied to clipboard
Get the TextPitchAlignment property
Link copied to clipboard
Get the TextRadialOffset property
Link copied to clipboard
Get the TextRotate property
Link copied to clipboard
Get the TextRotationAlignment property
Link copied to clipboard
Get the TextSize property
Link copied to clipboard
Get the TextTransform property
Link copied to clipboard
Get the TextTranslate property
Link copied to clipboard
Get the TextTranslateAnchor property
Link copied to clipboard
Get the TextTranslate property transition options
Link copied to clipboard
Get the TextVariableAnchor property
Link copied to clipboard
Get the TextVariableAnchorOffset property
Link copied to clipboard
Get the TextWritingMode property
Link copied to clipboard
Link copied to clipboard
open fun isDetached(): Boolean
Link copied to clipboard
open fun setDetached()
Link copied to clipboard
open fun setFilter(@NonNull filter: Expression)
Set a single expression filter.
Link copied to clipboard
Set the IconColor property transition options
Link copied to clipboard
Set the IconHaloBlur property transition options
Link copied to clipboard
Set the IconHaloColor property transition options
Link copied to clipboard
Set the IconHaloWidth property transition options
Link copied to clipboard
Set the IconOpacity property transition options
Link copied to clipboard
Set the IconTranslate property transition options
Link copied to clipboard
open fun setMaxZoom(zoom: Float)
Link copied to clipboard
open fun setMinZoom(zoom: Float)
Link copied to clipboard
open fun setProperties(@NonNull properties: Array<PropertyValue<out Any>>)
Link copied to clipboard
open fun setSourceLayer(sourceLayer: String)
Set the source layer.
Link copied to clipboard
Set the TextColor property transition options
Link copied to clipboard
Set the TextHaloBlur property transition options
Link copied to clipboard
Set the TextHaloColor property transition options
Link copied to clipboard
Set the TextHaloWidth property transition options
Link copied to clipboard
Set the TextOpacity property transition options
Link copied to clipboard
Set the TextTranslate property transition options
Link copied to clipboard
Set a single expression filter.
Link copied to clipboard
Set a property or properties.
Link copied to clipboard
open fun withSourceLayer(sourceLayer: String): SymbolLayer
Set the source Layer.