Fix errors in building techs

This commit is contained in:
2026-05-25 14:40:02 +02:00
parent c7c6ff2224
commit bfdcab8be3
2 changed files with 13 additions and 3 deletions

View File

@@ -140,7 +140,7 @@ GIS.buildingTechs = async function () {
techs.addLayer(marker);
const markerLabel = `${record.coordinates[0]} ${record.coordinates[1]}`;
marker.options.data = record;
marker.options.site = record.site.label;
marker.options.site = record.site?.label;
GisState.markers.buildingTechs[markerLabel] = marker;
}