I'm experiencing a issue with the tiles cache in leaflet. If I start at point A, pan to point B, and then look at the tiles inbetween; they are cached and such. No problem.
But if i pan from A to B, zoom in, and zoom out, and pan back to A, the tiles are cleared! By other words, the cached tiles seems to be cleared when altering the zoom-levels.
Is this a common behaviour, and can it be prevented? i.e. can I force leaflet to keep ALL loaded tiles in memory? I have tried playing around with the various options for the map and layers, without success. The option unloadInvisibleTiles is false by default, which implies that tiles are kept in memory..
I'm trying to create some sort of navigation on a map, where you can pan, zoom, back and forth. Therefore I need all the loaded tiles to be kept in memory, for a smooth experience.
Thank you in advance.