Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flush Map Cache should do something #305

Open
jidanni opened this issue Sep 29, 2024 · 2 comments
Open

Flush Map Cache should do something #305

jidanni opened this issue Sep 29, 2024 · 2 comments

Comments

@jidanni
Copy link
Contributor

jidanni commented Sep 29, 2024

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.

@rnorris
Copy link
Collaborator

rnorris commented Sep 29, 2024

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.

@jidanni
Copy link
Contributor Author

jidanni commented Oct 2, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants