Bug 220842

Summary: [Patch] Marble widget: Allow to clear cache for certain area
Product: [Applications] marble Reporter: Simon <simon.eu>
Component: generalAssignee: marble-bugs
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles, nienhueser
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: marble-rmb-reload.diff

Description Simon 2009-12-31 20:16:33 UTC
Version:           1.1.0 (rev.: 1066990) (using 4.3.4 (KDE 4.3.4), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.32-2.slh.3-sidux-686

I'm displaying the images on OpenStreetMap. As I've mapped some streets there in the meantime I'd like to see them in the marble widget too, but the map seems to be cached and shows the old map (with nothing where should be streets).
Comment 1 caulier.gilles 2009-12-31 21:24:39 UTC
Nothing can be done in digiKam. It's marble widget indeep...

Gilles Caulier
Comment 2 Dennis Nienhüser 2010-01-01 17:36:35 UTC
As a workaround until that feature is available, you can clear the whole OSM cache by deleting the files in ~/.marble/data/maps/earth/openstreetmap.
Comment 3 Dennis Nienhüser 2010-01-15 22:34:08 UTC
Created attachment 39928 [details]
marble-rmb-reload.diff

Actually there's a refresh action now in the View menu in the marble KDE application and the kpart. It does trigger a re-download of the currently visible tiles.

It probably makes sense to make it available in the marble context menu (the one appearing when you click on the marble widget with the right mouse button). This way it can be used from within digikam and other applications embedding only the marble widget.
Comment 4 Simon 2010-01-15 23:22:06 UTC
*looking forward to* :)
Comment 5 Dennis Nienhüser 2010-01-27 22:29:33 UTC
SVN commit 1081175 by nienhueser:

Make the reload map action available in the widget context menu so that it is easily accessible from applications embedding MarbleWidget.
BUG: 220842


 M  +7 -7      MarbleMap.h  
 M  +6 -0      MarbleWidgetPopupMenu.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1081175
Comment 6 Dennis Nienhüser 2010-01-27 22:30:46 UTC
Cannot backport this to KDE SC 4.4 because the change contains a new UI string, sorry.