HillshadeLayerSchema
constHillshadeLayerSchema:ZodObject<object&object,"passthrough",ZodTypeAny,objectOutputType<object&object,ZodTypeAny,"passthrough">,objectInputType<object&object,ZodTypeAny,"passthrough">>
Defined in: packages/core/src/schemas/layer.schema.ts:1060
Hillshade layer for terrain visualization.
Remarks
Section titled “Remarks”Renders raster DEM data as hillshading.
Examples
Section titled “Examples”- id: hillshade type: hillshade source: type: raster-dem url: "https://example.com/terrain.json" paint: hillshade-illumination-direction: 315 hillshade-exaggeration: 0.5Multidirectional (maplibre-gl >= 5.5.0) — one entry per light
paint: hillshade-method: multidirectional hillshade-illumination-direction: [270, 315, 0, 45] hillshade-highlight-color: ["#FF4000", "#FFFF00", "#40ff00", "#00FF80"] hillshade-shadow-color: ["#00bfff", "#0000ff", "#bf00ff", "#FF0080"]