Thème
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:
- Match by Label (case-insensitive)
- Match by ID (exact or string-to-number)
- Match by Index (Aviss 1-based offset)
Paramètres
| Paramètre | Type |
|---|---|
systemState | | FireStationSystem | undefined |
point | MapPoint |
Retourne
Zone | undefined