MTFillExtrusionLayer
A fill-extrusion style layer renders one or more filled (and optionally stroked) extruded (3D) polygons on a map.
You can use a fill-extrusion layer to configure the extrusion and visual appearance of polygon or multipolygon features.
Constructors
Properties
The base color of the extruded fill. Defaults to black. Note: If specified as rgba with alpha, alpha is ignored; use opacity.
Unique layer identifier.
Identifier of the source to be used for this layer.
Vector tile source layer name, if applicable. Required for vector tile sources.
The geometry’s offset. Units in pixels. Values are x, y where negatives indicate left and up, respectively. Defaults to 0,0.
Controls the frame of reference for translate. Defaults to map.
Type of the layer.
Whether to apply a vertical gradient to the sides of a fill-extrusion layer. Defaults to true.
Whether this layer is displayed.