Props
A unique identifier for the layer.
If true, references an existing layer in the style instead of creating a new one.
The source from which to obtain the data to style.
Identifier of the layer within the source identified by sourceID.
Inserts the layer above the specified layer ID.
Inserts the layer below the specified layer ID.
Inserts the layer at a specified index.
The slot this layer is assigned to. v11 only
Minimum zoom level for layer visibility.
Maximum zoom level for layer visibility.
Filters features based on a condition.
Customizable style attributes.
Style Properties
Controls layer visibility.
Whether or not the fill should be antialiased.
The opacity of the entire fill layer. Range: 0-1.
The color of the filled part of this layer. Disabled by: fillPattern
The outline color of the fill. Matches fillColor if unspecified. Disabled by: fillPattern
Name of image in sprite to use for drawing image fills.