9 Commits

Author SHA1 Message Date
Mike Castle
27bb6f058e Spell checking, d-g. 2013-11-22 23:31:05 -08:00
Jon Atkins
8270812406 experimental change: render stale map data tiles before downloading fresh data - should give a more responsive appearance of data
also increase cache expiry time to 15 mins
2013-10-25 07:10:35 +01:00
Jon Atkins
a89c90cfdc fix syntax error - that's what i get for comitting untested code when tired... 2013-10-17 07:56:31 +01:00
Jon Atkins
fefff1c0fc tweaks to the map data cache, in preperation for detail level specific expiry times 2013-10-17 01:32:28 +01:00
Jon Atkins
51b24386e6 disable 'timestampMs' map data requests. either i've misunderstood what their code is doing, or it's an incomplete feature in the stock site.
extensive testing has never found an instance where it reduced response size from the server
2013-10-14 17:59:53 +01:00
Jon Atkins
d2661874c6 some work-in-progress. from a read of the far-less-obfsucated code on the stock site it looks like map data can be retrieved as an update to an earlier query
i.e. pass the timestamp of the last data request, and the server should only send the changed data rather than everything
2013-10-07 20:29:05 +01:00
Jon Atkins
4ccfbdfa45 re-tune the cache code so it's much more short-term storage
the original reason for longer term storage were the frequent error==TIMEOUT from map tiles. since these are now retried, as the stock site does, the remaining use for the cache is more short term, while panning around an area
2013-09-04 04:32:04 +01:00
Jon Atkins
30ecb93b19 tile data cache - reduce size on mobile (due to limited RAM), and increase on desktop 2013-09-02 21:20:44 +01:00
Jon Atkins
fee3a73767 move map data tile cache code into it's own file and clase 2013-08-19 20:55:07 +01:00