This commit is contained in:
parent
8e3d1001cc
commit
5f22b90bd8
1 changed files with 2 additions and 1 deletions
|
@ -278,8 +278,9 @@ class LineRenderingLayer {
|
|||
}
|
||||
})
|
||||
features.features.addCallbackAndRunD(async (feats) => {
|
||||
console.log("New features!", this._layername, features.features.data.length)
|
||||
console.log("New features!", this._layername, feats)
|
||||
updateNeededSrc.set(true)
|
||||
this.update(feats)
|
||||
})
|
||||
map.on("styledata", () => updateNeededSrc.set(true))
|
||||
this.awaitStyleLoaded().then(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue