Show correct building techs in search

This commit is contained in:
2026-05-25 14:57:06 +02:00
parent bfdcab8be3
commit adac2e04bb
2 changed files with 9 additions and 4 deletions

View File

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