Load tiles async over websockets, instead of img.src. Implement GridLayer.createTile().
Cache
Not necessary to createTile() for each new tile-request, as we can re-use the tiles. (Not sure why Leaflet does this anyway, actually, as they don't really need to either. Perhaps performance gain is minimal.)
Websockets
Load tiles async over websockets, instead of
img.src
. ImplementGridLayer.createTile()
.Cache
Not necessary to
createTile()
for each new tile-request, as we can re-use the tiles. (Not sure why Leaflet does this anyway, actually, as they don't really need to either. Perhaps performance gain is minimal.)loaded
bug at the same time