Skip to content

spatial-monorepo


spatial-monorepo / core/src / SensorLayer

Function: SensorLayer()

SensorLayer(__namedParameters): null

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

SensorLayer manages a sensor overlay on the map.

  • Mount: calls addSensorOverlay
  • readings change: calls updateSensorReadings
  • Unmount: calls removeSensorOverlay

The overlay id is derived from sensorType (stable for the lifetime of the component).

Parameters

__namedParameters

SensorLayerProps

Returns

null

Released under commercial licensing.