From 823feb33e08126f92f18eade1a3a3cc423a8c529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bl=C3=A4sta?= <48793206+johnnyblasta@users.noreply.github.com> Date: Wed, 12 Apr 2023 13:34:21 +0200 Subject: [PATCH] Ignore attribut type for featureinfo (#1737) --- src/getattributes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/getattributes.js b/src/getattributes.js index dd66d0f73..b2ca0cb54 100644 --- a/src/getattributes.js +++ b/src/getattributes.js @@ -224,7 +224,7 @@ function getAttributes(feature, layer, map) { const templateList = document.createElement('ul'); featureinfoElement.appendChild(templateList); templateList.innerHTML = li; - } else if (attribute.type !== 'hidden') { + } else { if (attribute.name) { val = getContent.name(feature, attribute, attributes, map); } else if (attribute.url) {