diff --git a/src/components/map/FeaturePropertyPopup.jsx b/src/components/map/FeaturePropertyPopup.jsx index 71b9983..8b7816a 100644 --- a/src/components/map/FeaturePropertyPopup.jsx +++ b/src/components/map/FeaturePropertyPopup.jsx @@ -21,8 +21,9 @@ function renderProperties(feature) { }) } -function renderFeature(feature) { - return
+function renderFeature(feature, idx) { + const uniqueKey = feature.hasOwnProperty('id') ? feature.id : idx; + return
{feature.layer['source-layer']}{feature.inspectModeCounter && × {feature.inspectModeCounter}}