Skip to content

Superviseur — Frontend v0.14.0


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

Fonction: findZone()

ts
function findZone(systemState, point): Zone | undefined;

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

Finds a Zone in the system state corresponding to a MapPoint. Handles:

  1. Match by Label (case-insensitive)
  2. Match by ID (exact or string-to-number)
  3. Match by Index (Aviss 1-based offset)

Paramètres

ParamètreType
systemState| FireStationSystem | undefined
pointMapPoint

Retourne

Zone | undefined

Documentation Technique