osmeditor4android icon indicating copy to clipboard operation
osmeditor4android copied to clipboard

Flush tile cache, for only this screen

Open jidanni opened this issue 2 years ago • 2 comments

Screenshot_20220923-094419_Vespucci.jpg It would be great to also be able to Flush Tile Cache, but only for the current view.

That way we wouldn't have to throw away up hundreds of kilometers of tiles just to see a few meters of fresh ones.

So there could perhaps be a dialogue:

Flush Tile Cache

  • flush only current view
  • flush entire layer
  • Cancel

jidanni avatar Sep 23 '22 13:09 jidanni

The question is, because again it is easy to make a throw away "good" idea, not so easy to spec out exactly what the behaviour should be, what should this actually do?

  • flush the cache for just the current zoom level?
  • flush the cache for all higher zoom levels?
  • flush the cache for all higher zoom levels and, unclear what exactly, some lower level tiles?

simonpoole avatar Sep 30 '22 09:09 simonpoole

Hmmm. Well I suppose the main reason to flush the cache at this point would be the user is curious how the item he just edited is now rendered. Or he wants to to start using the fresher version of the background for this area only. So perhaps just flush the cache for this zoom level, for the bounding box of this screen, for now, until others have better ideas.

jidanni avatar Oct 02 '22 20:10 jidanni