systemapic / systemapic.js

Systemapic Javascript API
https://systemapic.com
0 stars 3 forks source link

Leaflet.GridLayer: Websocket & Cache #210

Open knutole opened 8 years ago

knutole commented 8 years ago

Websockets

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.)