Companion
Static variables and methods.
Functions
Properties
Whether or not the fill should be antialiased.
This is an Expression representation of "fill-antialias".
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.
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.
This is an Expression representation of "fill-color".
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.
Transition options for FillColor.
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.
This is an Expression representation of "fill-opacity".
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.
Transition options for FillOpacity.
The outline color of the fill. Matches the value of fill-color
if unspecified.
The outline color of the fill. Matches the value of fill-color
if unspecified.
This is an Expression representation of "fill-outline-color".
The outline color of the fill. Matches the value of fill-color
if unspecified.
Transition options for FillOutlineColor.
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.
This is an Expression representation of "fill-pattern".
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.
Transition options for FillPattern.
Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
This is an Expression representation of "fill-sort-key".
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
.
This is an Expression representation of "fill-translate-anchor".
Controls the frame of reference for fill-translate
.
This is an Expression representation of "fill-translate".
The geometry's offset. Values are x, y where negatives indicate left and up, respectively.
Transition options for FillTranslate.
The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.
Range: minimum: 0 maximum: 24
The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.
Range: minimum: 0 maximum: 24
Visibility of the layer.