View Single Post
Posts: 459 | Thanked: 669 times | Joined on Sep 2007 @ The DMV
#1295
Originally Posted by MartinK View Post
I plan to add a layer setting to the map configuration file, that would set for how long will the map tiles be considered valid before being redownloaded (and maybe even reload currently displayed tiles ?). Something like:
Code:
max_age=2 # in hours
And a setting in Options to turn this behavior on/off.

Also, any ideas how I should set it for the different layers (eq. how often are they updated ?)?
I like the idea of having an option to redownload the tiles that are currently displayed, once validity expires.

Otherwise, having the option to easily turn refresh on/off, and to be able to vary the interval would be useful. It seems that refresh for some layers is irrelevant, while refresh rates for other layers will vary depending on the type and use case. For example, I believe that Google Traffic updates very close to real time in some cases, depending on the location. Setting the refresh rate to something like every 15 minutes (or less) could be useful if I am driving, for example. Being able to change the refresh to longer intervals, or turning refresh off entirely would be useful if my battery was running low or if I want to limit my mobile data usage...
 

The Following 3 Users Say Thank You to klinglerware For This Useful Post: