Skip to main content

Store and reload Swingx map data

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2013-10-05


i'd like to know if there is an easy possibility to Store the Map information that are downloaded and displayed.
So that in case there is no Internet connection the tiles, which have been downloaded before, can still be displayed.

Thank you for any Help!


PS: Sorry for my bad english.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-11

certainly - but you have to implement it yourself :-)

My take would be a custom TileFactory, that would

- load a new Tile not only into in-memory image cache but also save it to a file.
- on loading a Tile, fallback to the local file lookup if offline

Have a look at AbstractTileFactory to get an idea about its Tile handling, it's probably c&p of the TileRunner.

No an expert in swingx-ws, so no guarantees that would work.