spatial-monorepo / verticals/src / GeofenceSafetyLayer
Function: GeofenceSafetyLayer()
GeofenceSafetyLayer():
ReactElement<unknown,string|JSXElementConstructor<any>> |null
Defined in: packages/verticals/src/components/FactoryProfile.tsx:785
GeofenceSafetyLayer - renders GeoJSON geofence zones. Each RAF tick, checks RTLS positions from positionMapRef against zones. On entry: fires onGeofenceViolation callback + toast notification. Violated zones are styled with an increased opacity red stroke.
The flashing CSS animation class on toast elements (.geofence-toast--flash) should respect prefers-reduced-motion in the consumer's stylesheet.
Returns
ReactElement<unknown, string | JSXElementConstructor<any>> | null
