Skip to content

spatial-monorepo


spatial-monorepo / core/src / HeatmapLayer

Function: HeatmapLayer()

HeatmapLayer(__namedParameters): null

Defined in: packages/core/src/components/LayerComponents.tsx:175

HeatmapLayer manages a deck.gl HeatmapLayer on the map.

  • Mount: calls addHeatmapLayer
  • timestamp change: calls updateHeatmapTime
  • data change: calls addHeatmapLayer (replaces the config by id)
  • Unmount: calls removeHeatmapLayer

The layer id is the sourceId prop (stable for the component lifetime).

Parameters

__namedParameters

HeatmapLayerProps

Returns

null

Released under commercial licensing.