Fill Extrusion Layer
An extruded (3D) polygon.
See also
Parameters
Constructors
the ID of the layer
Types
Functions
Properties
The height with which to extrude the base of this layer. Must be less than or equal to fill-extrusion-height
.
This is an Expression representation of "fill-extrusion-base".
The height with which to extrude the base of this layer. Must be less than or equal to fill-extrusion-height
.
Transition options for FillExtrusionBase.
The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root light
settings. If this color is specified as rgba
with an alpha component, the alpha component will be ignored; use fill-extrusion-opacity
to set layer opacity.
The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root light
settings. If this color is specified as rgba
with an alpha component, the alpha component will be ignored; use fill-extrusion-opacity
to set layer opacity.
This is an Expression representation of "fill-extrusion-color".
The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root light
settings. If this color is specified as rgba
with an alpha component, the alpha component will be ignored; use fill-extrusion-opacity
to set layer opacity.
Transition options for FillExtrusionColor.
The height with which to extrude this layer.
This is an Expression representation of "fill-extrusion-height".
The height with which to extrude this layer.
Transition options for FillExtrusionHeight.
The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.
This is an Expression representation of "fill-extrusion-opacity".
The opacity of the entire fill extrusion layer. This is rendered on a per-layer, not per-feature, basis, and data-driven styling is not available.
Transition options for FillExtrusionOpacity.
Name of image in sprite to use for drawing images on extruded 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-extrusion-pattern".
Name of image in sprite to use for drawing images on extruded 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 FillExtrusionPattern.
The geometry's offset. Values are x, y where negatives indicate left and up (on the flat plane), respectively.
Controls the frame of reference for fill-extrusion-translate
.
This is an Expression representation of "fill-extrusion-translate-anchor".
Controls the frame of reference for fill-extrusion-translate
.
This is an Expression representation of "fill-extrusion-translate".
The geometry's offset. Values are x, y where negatives indicate left and up (on the flat plane), respectively.
Transition options for FillExtrusionTranslate.
Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.
This is an Expression representation of "fill-extrusion-vertical-gradient".
Whether to apply a vertical gradient to the sides of a fill-extrusion layer. If true, sides will be shaded slightly darker farther down.
A expression specifying conditions on source features. Only features that match the filter are displayed. Zoom expressions in filters are only evaluated at integer zoom levels. The feature-state
expression is not supported in filter expressions.
Properties of this layer.
Source layer.
Visibility of the layer.