Fix: actually show data
All checks were successful
/ deploy_on_hosted (push) Successful in 19m2s

This commit is contained in:
Pieter Vander Vennet 2025-05-04 03:13:09 +02:00
parent 8e3d1001cc
commit 5f22b90bd8

View file

@ -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(() => {