In the following component, I am updating the shape for ShapeSource every second. The problem is that the whole component is rendering, making me unable to interact with the map while it is updating. How this can be solved? Is there something I can use on the side of Mapbox?
In the following component, I am updating the shape for ShapeSource every second. The problem is that the whole component is rendering, making me unable to interact with the map while it is updating. How this can be solved? Is there something I can use on the side of Mapbox?