viking icon indicating copy to clipboard operation
viking copied to clipboard

Flush Map Cache should do something

Open jidanni opened this issue 1 year ago • 2 comments

In Edit > Flush Map Cache there should be a mouseover that says what this does. That way we wouldn't need to look in the manual.

Anyway, I clicked it and nothing happened.

I expected the background (Mapnik) to become white and then start filling in again.

Also it is not clear if this was intended to throw away

  • just the tiles in view.
  • all the tiles of this map layer.
  • all the tiles of every map layer.

Anyway, it would be neat if there was a way to just refresh the tiles in view, like in a browser with CTRL+F5.

jidanni avatar Sep 29 '24 10:09 jidanni

It removes map images (all map types) from the internal memory cache - thus you won't see any difference in the program itself. But if you view a system status monitor - it should show Viking using less memory.

The menu name should be better: -> Flush Map Memory Cache

I'll probably update the manual to be more specific between map disk cache versus memory cache as well.

NB F5 and Ctrl+F5 do perform a refresh of the tiles in view.

rnorris avatar Sep 29 '24 14:09 rnorris

All I know is I am staring at this half a parking lot, Screenshot 2024-10-02 17 28 26 and (perhaps due to #306) nothing I press will freshen it to what https://www.openstreetmap.org/#map=19/24.181931/120.866100 currently shows. Yes, even View > Refresh.

jidanni avatar Oct 02 '24 09:10 jidanni