From 1388f993ea32d461964aa5d258a69e4a1d063c21 Mon Sep 17 00:00:00 2001 From: evlist Date: Fri, 3 Feb 2023 18:37:54 +0100 Subject: [PATCH] : displaying feature tags. --- src/components/infos/Infos.tsx | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/components/infos/Infos.tsx b/src/components/infos/Infos.tsx index 2de4835..554617e 100644 --- a/src/components/infos/Infos.tsx +++ b/src/components/infos/Infos.tsx @@ -257,6 +257,27 @@ const Infos: Component<{}> = (props) => { {feature.getProperties()[key]} + + tags: +
    + + {(tagKey) => ( +
  • + {tagKey}: + { + feature.getProperties()[key][ + tagKey + ] + } +
  • + )} +
    +
+
)}