Hello, I am using scattermapbox from mapbox for a dashboard that tracks realtime bus gps from an api.
I have it set to update at a relatively slow interval of 5 seconds.
The only problem is that every time it updates the whole map reloads and not just the data points. Now I don’t mean that the viewing position changes and reverts back to the default I got that to stay, but rather every time it reloads the whole map goes grey with the loading icon then loads back with the new data points on it.
Is there any way to make this smoother? ie maybe just reload the data points without reloading the actual map underneath?
or am I not using the best tools for this project and is there another that would be better?