Having a synchronous (main-thread) setData API dovetails nicely with the synchronous queryRenderedFeatures API. I see this API being useful in cases where
- very small GeoJSON sources need to be updated very quickly for animations
- users want to know exactly when a
setData operation completes
previously implemented in #1979 as skipWorker
Having a synchronous (main-thread)
setDataAPI dovetails nicely with the synchronousqueryRenderedFeaturesAPI. I see this API being useful in cases wheresetDataoperation completespreviously implemented in #1979 as
skipWorker