mapbox-gl-js
mapbox-gl-js copied to clipboard
GeoJsonSource doesn't provide a method to update partial features that have been deleted or modified.
In my use case, I would load more than 100,000 features data with GeoJsonSource and then edit some of them. GeoJsonSource only provides the setData method to reset all feature data. GeoJsonSource will pass all data to the worker thread for tile cutting, but the transfer of large data between the UI thread and the worker is time-consuming, leading to rendering lag. How can this issue be resolved?