FillLayer

open class FillLayer : Layer

A filled polygon with an optional stroked border.

See also

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

Constructors

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

Properties

Link copied to clipboard
open val nativePtr: Long

Functions

Link copied to clipboard
Get the FillAntialias property
Link copied to clipboard
Get the FillColor property
Link copied to clipboard
The color of the filled part of this layer.
Link copied to clipboard
Get the FillColor property transition options
Link copied to clipboard
Get the FillOpacity property
Link copied to clipboard
Get the FillOpacity property transition options
Link copied to clipboard
Get the FillOutlineColor property
Link copied to clipboard
The outline color of the fill.
Link copied to clipboard
Get the FillOutlineColor property transition options
Link copied to clipboard
Get the FillPattern property
Link copied to clipboard
Get the FillPattern property transition options
Link copied to clipboard
Get the FillSortKey property
Link copied to clipboard
Get the FillTranslate property
Link copied to clipboard
Get the FillTranslateAnchor property
Link copied to clipboard
Get the FillTranslate property transition options
Link copied to clipboard
Get a single expression filter.
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
Link copied to clipboard
open fun isDetached(): Boolean
Link copied to clipboard
open fun setDetached()
Link copied to clipboard
Set the FillColor property transition options
Link copied to clipboard
Set the FillOpacity property transition options
Link copied to clipboard
Set the FillOutlineColor property transition options
Link copied to clipboard
Set the FillPattern property transition options
Link copied to clipboard
Set the FillTranslate property transition options
Link copied to clipboard
open fun setFilter(@NonNull filter: Expression)
Set a single expression filter.
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 a single expression filter.
Link copied to clipboard
Set a property or properties.
Link copied to clipboard
open fun withSourceLayer(sourceLayer: String): FillLayer
Set the source Layer.