In a leaflet application, I have a base map, and several overlay layers, each of which are showing GeoJSON. The GeoJSON is going update (client receives over a websocket) at 4Hz.
The GeoJSON consists of a good number of polylines. The area covered is pretty small, so I don't think that tiling the GeoJSON will help.
I don't think that their will be so much data that it will overwhelm the browser/client. But I want to know if anyone has tips on what could decrease the load on the browser.
I.e. I could should to delete the layer content each update and load fresh content.
Or I could as the server to give me vertex list for the new layout of the polylines and then do an update in the browser.
There are probably other ways to minimize work. (e.g. are there plugins for this problem?) nothing in the leaflet plugin list leaped out at me.
What tips do you have?