FillExtrusionLayerSchema
constFillExtrusionLayerSchema:ZodObject<object&object,"passthrough",ZodTypeAny,objectOutputType<object&object,ZodTypeAny,"passthrough">,objectInputType<object&object,ZodTypeAny,"passthrough">>
Defined in: packages/core/src/schemas/layer.schema.ts:942
Fill extrusion layer for 3D buildings and structures.
Remarks
Section titled “Remarks”Renders filled polygons extruded in 3D space.
Example
Section titled “Example”3D Buildings
- id: buildings type: fill-extrusion source: type: vector url: "https://example.com/buildings.json" source-layer: buildings paint: fill-extrusion-color: "#aaaaaa" fill-extrusion-height: ["get", "height"] fill-extrusion-base: ["get", "min_height"] fill-extrusion-opacity: 0.8