FillLayerSchema
constFillLayerSchema:ZodObject<object&object,"passthrough",ZodTypeAny,objectOutputType<object&object,ZodTypeAny,"passthrough">,objectInputType<object&object,ZodTypeAny,"passthrough">>
Defined in: packages/core/src/schemas/layer.schema.ts:701
Fill layer for polygon data.
Remarks
Section titled “Remarks”Renders filled polygons with optional outlines.
Example
Section titled “Example”Basic Fill
- id: parks type: fill source: type: geojson url: "https://example.com/parks.geojson" paint: fill-color: "#228B22" fill-opacity: 0.5 fill-outline-color: "#006400"