Fix errors in building techs
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user