Fill Layer
See also
Parameters
the ID of the layer
the ID of the source
Constructors
Types
Functions
Bind the layer to the Style.
Bind the layer to the map controller.
Whether or not the fill should be antialiased.
The color of the filled part of this layer. This color can be specified as rgba
with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.
Set the FillColor property transition options
DSL for fillColorTransition.
Controls the intensity of light emitted on the source features. This property works only with 3D light, i.e. when lights
root property is defined.
Set the FillEmissiveStrength property transition options
DSL for fillEmissiveStrengthTransition.
The opacity of the entire fill layer. In contrast to the fill-color
, this value will also affect the 1px stroke around the fill, if the stroke is used.
Set the FillOpacity property transition options
DSL for fillOpacityTransition.
The outline color of the fill. Matches the value of fill-color
if unspecified.
Set the FillOutlineColor property transition options
DSL for fillOutlineColorTransition.
Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.
Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
The geometry's offset. Values are x, y where negatives indicate left and up, respectively.
Controls the frame of reference for fill-translate
.
Set the FillTranslate property transition options
DSL for fillTranslateTransition.
A filter is a property at the layer level that determines which features should be rendered in a style layer.
A source layer is an individual layer of data within a vector source. A vector source can have multiple source layers.
Whether this layer is displayed.