Skip to content

spatial-monorepo


spatial-monorepo / verticals/src / DeskBookingLayer

Function: DeskBookingLayer()

DeskBookingLayer(__namedParameters): null

Defined in: packages/verticals/src/components/OfficeProfile.tsx:415

F19 — subscribes to the deskBookingSource DataBus channel and updates desk feature state (bookingStatus, bookingColor) via map.setFeatureState. No GeoJSON reload — uses feature-state expression on the MapLibre source.

Colours are derived from SpatialTheme CSS custom properties (no hardcoded hex).

Parameters

__namedParameters

mapSourceId?

string = 'office-desks'

Returns

null

Released under commercial licensing.