Idea:Refresh tiles
From VikingWiki
Viking need a way to refresh tiles' cache.
Some map source propose tiles which become outdate often. For example, OpenStreetMap offers tiles of a map drawn by a community. Every week, day, minutes, tiles are changing.
Contents |
[edit]
Options
[edit]
Manual refresh
A menu on the map layer: refresh onscreen tiles.
Done on r221
[edit]
Automatic refresh
[edit]
Hard coded
Each map module come with an hard coded duration for tiles. Each time Viking looks in the cache, it compares the date of the file with the current date and the max duration. By this way, Viking can decide to re-download this tile or not.
[edit]
Metadata
Some map source offers metadata for their tiles. The metadata can came with the tiles (which must be stored) or can be fetch with a "HTTP HEAD" request.
