mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
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:
parent
ea2bdba270
commit
29d70552dd
1 changed files with 1 additions and 0 deletions
|
@ -213,6 +213,7 @@ class Feature {
|
||||||
if (this._umap.currentFeature === this) {
|
if (this._umap.currentFeature === this) {
|
||||||
this.view()
|
this.view()
|
||||||
}
|
}
|
||||||
|
this.datalayer.indexProperties(this)
|
||||||
}
|
}
|
||||||
this.redraw()
|
this.redraw()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue