fix: always index properties when feature properties as changed

We want the datalayer index properties to be updated when a user set
a property on the feature, as this property name may not yet be in the
index (which is used later for autocomplete, select…).
This commit is contained in:
Yohan Boniface 2025-01-24 18:19:57 +01:00
parent ea2bdba270
commit 29d70552dd

View file

@ -213,6 +213,7 @@ class Feature {
if (this._umap.currentFeature === this) {
this.view()
}
this.datalayer.indexProperties(this)
}
this.redraw()
}