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

Option to reload currently visible tiles #111

Closed
GoogleCodeExporter opened this issue Sep 16, 2015 · 4 comments
Closed

Option to reload currently visible tiles #111

GoogleCodeExporter opened this issue Sep 16, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

This is an enhancement patch.

What steps will reproduce the problem?
1. View the map using OSMDroid
2. The viewed tiles are now in your cache on the sdcard
3. Update the map with JOSM or potlatch
4. You still see the old, obsolete tiles

What is the expected output? What do you see instead?
There should be an option to reload the currently visible tiles, as suggested 
in issue 40 and issue 44.

What version of the product are you using? On what operating system?
Current svn (r454), android 2.1

Please provide any additional information below.
This patch provides a new method OpenStreetMapView.removeCachedVisibleTiles , 
and a menu option in the OpenStreetMapViewer sample to call that method.

The method calls cache and filesystem methods to remove the tiles in a given 
rectangle at several zoom levels.

Please review and let me know what you think.

Many thanks,
-Jeremy Monin

Original issue reported on code.google.com by jdmo...@nand.net on 4 Nov 2010 at 7:48

Attachments:

@GoogleCodeExporter
Copy link
Author

Issue 44 has been merged into this issue.

Original comment by neilboyd on 5 Nov 2010 at 6:32

@GoogleCodeExporter
Copy link
Author

Original comment by neilboyd on 5 Nov 2010 at 6:32

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

Hi,

this one would be very helpful to solve one of the issues at OSMTracker project 
(see https://code.google.com/p/osmtracker-android/issues/detail?id=80 for 
details)

best regards
Matthias

Original comment by matthias...@gmail.com on 17 Dec 2010 at 2:59

@GoogleCodeExporter
Copy link
Author

This can be achieved with:

mMapView.getTileProvider().clearTileCache();

Original comment by kurtzm...@gmail.com on 2 May 2013 at 12:55

  • Changed state: Fixed

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

No branches or pull requests

1 participant