aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.js b/main.js
index a125a97..1e0e828 100644
--- a/main.js
+++ b/main.js
@@ -5254,7 +5254,7 @@ const infoMetadataAccordions = [];
fetch_body.push({
layer_group: layerGroup,
layer: layerName,
- fid: feature.getId(),
+ fid: feature.getId() ?? -1,
});
if (fetch_body.length >= 100) {
return true; /* enough matches already, stop detection here */