OpenLayers Cache Write Example

# Cache Write Example

mobile, local storage, persistence, cache, html5
Caching viewed tiles
Cache status:

This example shows how to use the CacheWrite control to cache the tiles. Caching is turned on, and as you pan and zoom the map, every tile that is loaded is also copied to the browsers Local Storage.

To use the cached tiles, switch to the cache-read.html example.

See cache-write.js for the source code.