985 B
status
| status |
|---|
| accepted |
Cached Kacheln follow the Gebiete still marked downloaded
A Gebiet is marked heruntergeladen when its download starts, before every Kachel has arrived. Deleting it stops the rest of that download, then removes every Kachel of that Gebiet from the Cache, except a Kachel that also lies in another Gebiet still marked heruntergeladen. Deleting the whole Cache removes every Kachel and clears every heruntergeladen mark. On-demand Kacheln have no protection of their own. Usingen overlapping Wehrheim is the test: after Wehrheim is removed, a Kachel in both stays because Usingen is still heruntergeladen. After Hessen is removed, a Kachel stays only where a smaller Gebiet such as Usingen or Wehrheim is still heruntergeladen.
The alternative was to remember which download fetched each Kachel, and to keep every on-demand Kachel until the whole Cache is deleted. That was rejected: removing Hessen clears Hessen even when those Kacheln arrived by panning.