HeatmapLayerSchema
constHeatmapLayerSchema:ZodObject<object&object,"passthrough",ZodTypeAny,objectOutputType<object&object,ZodTypeAny,"passthrough">,objectInputType<object&object,ZodTypeAny,"passthrough">>
Defined in: packages/core/src/schemas/layer.schema.ts:998
Heatmap layer for point density visualization.
Remarks
Section titled “Remarks”Renders point data as a smooth heatmap with color gradients.
Example
Section titled “Example”- id: earthquakes-heat type: heatmap source: type: geojson url: "https://example.com/earthquakes.geojson" paint: heatmap-intensity: 1 heatmap-radius: 20 heatmap-color: - interpolate - ["linear"] - ["heatmap-density"] - 0 - "rgba(0,0,255,0)" - 0.5 - "yellow" - 1 - "red"