Tile caching and Offline Mode
Every tile you have ever looked at is already on the handset. ATLAS caches map tiles permanently, automatically, and by obligation, and that cache is what draws the map in a basement, a plant room, a steel framed warehouse or anywhere a client has deliberately killed cellular.
The cache is not a convenience somebody added. It is a term of the license the tiles arrive under. OpenStreetMap’s tile usage policy requires a client to cache what it fetches, because a client that re-requests a tile it already holds is the behavior the policy exists to stop. ATLAS therefore caches always, with no setting to turn it off, and the app says so in its own source: caching is always enabled, required by OSM policy.
Everything on this screen follows from that one fact, including the two numbers that bound it.
The cache in Map Settings
Section titled “The cache in Map Settings”
- INFRASTRUCTURE TILES, using the public OpenInfraMap service.
- VECTOR MAP DATA, which is where building volumes come from.
- OFFLINE MODE. Off, so the map may fetch what it does not hold.
- Cache Size, the running total, and Clear Cache beside it.
- Cache Retention, the one number you actually set.
- 7 days, labeled OSM minimum. The floor is the policy's, not ours.
- 1 month, the shipped value, checked.
- Three months and six months, which suit a long engagement.
- 1 year, 365 days, the ceiling.
- Switched on. No map request leaves the handset.
- The cache is untouched by the switch. It is still 22.4 MB.
- The warning is literal. It deletes every store.
- Only tiles for visible areas, not in bulk. That is the refill rule.
- CLEAR CACHE commits, and the dialog says it cannot be undone.
The two numbers, and where they come from
Section titled “The two numbers, and where they come from”Cache Retention is the only value you set, and its range is not arbitrary. The line under the control reads Minimum 7 days required by OSM policy. Maximum 365 days.
| Bound | Why it is that number |
|---|---|
| 7 days | OpenStreetMap’s tile usage policy. A client may not discard tiles sooner, because short retention means re-fetching, which is the load the policy is written to prevent. The option is labeled 7 days (OSM minimum) on screen so the reason travels with it |
| 365 days | a staleness ceiling. Imagery and street data do change, and a tile kept past a year is a picture of somewhere that may no longer look like that |
Six values: 7 days (OSM minimum), 1 month, 2 months, 3 months, 6 months and 1 year (365 days). Each row carries its own day count as a subtitle, so 1 month reads 30 days under it.
One month is the shipped value. For assessment work the longer retentions are usually the better choice, because a site does not change between the recon and the test, and a tile that expired overnight is one you cannot recover from a place with no coverage.
How the cache fills
Section titled “How the cache fills”It fills as you look. The app states the rule in the Clear Cache dialog: tiles come back only tiles for visible areas, not in bulk.
That is the same license term again from the other side. OpenStreetMap’s policy permits a client to keep what a person actually viewed and forbids bulk harvesting of an area, so the cache is a record of where you have looked rather than a region you asked for. It means preparing for a site with no coverage is a few minutes of work with signal rather than a setting:
- Pick the basemap you will use on the day, in Settings, Map Settings.
- Set Cache Retention long enough that it is still valid on the day.
- Open the operational map on the project, with network.
- Pan and zoom over the site deliberately, at every zoom you expect to need. Wide for the approach, deep for the doors.
- Cover the approach as well as the target, the car park and the road in.
- Check Cache Size has grown.
- On site, switch Offline Mode on.
Offline Mode
Section titled “Offline Mode”Use Only Cached Tiles, described on screen as Maps will only use cached tiles. No network requests will be made. It is a switch over the map’s network access, and it leaves the cache itself alone.
Three reasons to turn it on:
| Reason | What it buys you |
|---|---|
| No coverage | the map draws from the cache immediately instead of stalling on requests that cannot succeed |
| Metered or roaming data | imagery is the largest thing ATLAS will ever download |
| The handset’s own traffic is in scope | a map request names exactly where you are looking, to a third party, with a timestamp |
The third is the one operators underuse. On an engagement where the client is watching their own network, or where you are keeping the handset quiet on purpose, Offline Mode is the difference between a map and a trail.
Turn it off again when you are back on coverage. A map that looks half drawn in the office is almost always Offline Mode still on from the last job.
Clearing the cache
Section titled “Clearing the cache”Clear Cache empties every store at once, and the confirmation says plainly that it cannot be undone and that tiles return only as you view maps again.
It is the right control when you want the storage back or when imagery of a site has genuinely changed and you want a fresh pull. It is the wrong control as housekeeping the night before a job, which is the most common way to arrive at a site with an empty map.
If space is the problem, shorten the retention instead and let the cache trim itself within the bounds above.
What the cache does not hold, by license
Section titled “What the cache does not hold, by license”Esri World Imagery is never cached, at any retention and under any setting. Its item terms permit display and forbid retaining tiles, and the registry marks the variant online only.
Two things hold that in place at runtime. Asking for the variant’s cache store returns nothing rather than a store name, and the list of every store the app can create skips any variant marked online only, so there is no store for the clear screen to empty either. A unit test asserts that no online-only variant’s store name can reach that list, and it runs on every continuous integration build.
The MAP DATA ATTRIBUTION block on the same screen follows whichever basemap is selected, so with Esri World Imagery chosen it reads Imagery licensed from Esri against your own key. Its terms forbid retaining tiles, so this basemap is never cached for offline use. on the device.
The Export Licensed Esri variant is the same imagery on a token gated host whose subscription does permit keeping tiles, and that is the one to use when you need Esri detail somewhere with no signal.
Records do not need the map
Section titled “Records do not need the map”Every card read, note, voice memo, photograph, video and awareness item is recorded with its coordinate whether or not a tile ever draws, because the position comes from the handset’s GPS rather than from the map.
A site with no coverage costs you the picture, not the data. Everything recorded there lands on the map correctly the moment you are somewhere with signal.