Skip to content

Superviseur — Frontend v0.14.0


Superviseur — Frontend / features/map/map.utils / findDetector

Fonction: findDetector()

ts
function findDetector(systemState, point): 
  | Detector
  | Point
  | undefined;

Défini dans: features/map/map.utils.ts:47

Finds a Detector in the system state corresponding to a MapPoint. Requires the zone to be found first.

Paramètres

ParamètreType
systemState| FireStationSystem | undefined
pointMapPoint

Retourne

| Detector | Point | undefined

Documentation Technique