Open WeiminWangKolmostar opened 2 months ago
Hi @WeiminWangKolmostar,
Have you tried adding data via setData
in step 3? cc @mourner
@stepankuzmin it should work with only updateData
in any case. Must be some kind of a race condition, need to look into it...
I've been having the exact same problem.... Using setData did solve the problem though
mapbox-gl-js version: 3.6.0
browser: chrome 128.0.6613.137
Steps to Trigger Behavior
dynamic: true
geojson.updateData()
geojson.updateData()
burstly.Expected Behavior
The step 4 sometimes may cause the existing points disappear.
Reproduce Code: