Skip to content

spatial-monorepo


spatial-monorepo / verticals/src / EmployeeLocatorResult

Interface: EmployeeLocatorResult

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

Result returned by useEmployeeLocator(employeeId) (#163). null when the employee's RTLS position is unknown.

Properties

floor

floor: LevelFeature | null

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


locateEmployee

locateEmployee: (employeeId) => void

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

Flies camera to the employee's floor/unit and selects the unit

Parameters

employeeId

string

Returns

void


position

position: PositionUpdate | null

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


unit

unit: UnitFeature | null

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

Released under commercial licensing.