universe
universe copied to clipboard
Just a few things.
I got this running now, but considering OpenStreetmap is slow and MapBox expensive, is it posible to make a local cache on the phones with loaded tiles?
Eg:
cache: true, cachetime: 24*31, // 1 month cache
and a function like flushCache(older then); // force flush cache, or cache older then.
Lets all agree, maps dont change hourly, saving mobile data would be nice.
I dont know if this is easy to implement, but i guess when a part loads, check for the xxxxxxxxxxxx.png files in cache, if not there, download, if there and older then cachetime, download the tile anew.