Skip to content

Superviseur — Frontend v0.14.0


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

Fonction: getPointLabel()

ts
function getPointLabel(
   panelType, 
   zoneIndex, 
   pointIndex, 
   pointLabel?): string;

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

Generates a label for a point based on panel type and index.

Paramètres

ParamètreTypeDescription
panelTypestringThe type of the panel (e.g., 'Aviss', 'InisE16')
zoneIndexnumberThe index of the zone
pointIndexnumberThe index of the point
pointLabel?stringOptional custom label for the point

Retourne

string

The formatted label string

Documentation Technique