Is your feature request related to a problem? Please describe.
If I create a new GeoJsonSource, I can pass GeoJsonOptions().withSynchronousUpdate(false) if I want synchronous updates. If I want to create the sources via the style json, I cannot change the source to be synchronous or asynchronous.
Describe the solution you'd like
I would like to be able to set existing GeoJsonSources to GeoJsonOptions().withSynchronousUpdate(false)
Describe alternatives you've considered
I tried using it asynchronously, but i have to update it regularly, and the feature I update then flickers. Therefore i want to switch to synchronous. I tried removing and readding the source and it solves the problem, but I also have to remove and readd the corresponding style layers. This mixes up the order of the style layers, which is important. Keeping this order is possible but unnecessary complicated.
Additional context
Is your feature request related to a problem? Please describe.
If I create a new GeoJsonSource, I can pass
GeoJsonOptions().withSynchronousUpdate(false)if I want synchronous updates. If I want to create the sources via the style json, I cannot change the source to be synchronous or asynchronous.Describe the solution you'd like
I would like to be able to set existing GeoJsonSources to
GeoJsonOptions().withSynchronousUpdate(false)Describe alternatives you've considered
I tried using it asynchronously, but i have to update it regularly, and the feature I update then flickers. Therefore i want to switch to synchronous. I tried removing and readding the source and it solves the problem, but I also have to remove and readd the corresponding style layers. This mixes up the order of the style layers, which is important. Keeping this order is possible but unnecessary complicated.
Additional context