Skip to content

Commit

Permalink
Ignore attribut type for featureinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyblasta committed Apr 12, 2023
1 parent a4bf775 commit 0c0db63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/getattributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0c0db63

Please sign in to comment.