viking-gps / viking

Viking is a free/open source program to manage GPS data (inc GPX, FIT, TCX and KML files). You can import and plot tracks, routes and waypoints, show OpenStreetMaps (OSM), Bing Aerial and other maps, generate Mapnik maps, geotag images, make new tracks, routes and waypoints, see real-time GPS position, etc. It is written mostly in C with GTK
http://sourceforge.net/projects/viking/
GNU General Public License v2.0
223 stars 55 forks source link

Flush Map Cache should do something #305

Open jidanni opened 2 days ago

jidanni commented 2 days ago

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

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

rnorris commented 2 days ago

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.