From 9922252612b81714ef6e01b46f4744352ca94adb Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 9 Jun 2025 23:03:31 +0200 Subject: =?UTF-8?q?Feature=20fetch:=20Never=20pass=20=E2=80=9Cfid:undefine?= =?UTF-8?q?d=E2=80=9D=20when=20querying=20the=20CGI.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.js') 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 */ -- cgit v1.2.3