[josm-dev] [PATCH] SlippyMap plugin engancements
Jan Peter Stotz
jpstotz at gmx.de
Mon Apr 20 11:52:58 BST 2009
Dave Hansen wrote:
> Also, has anyone tried adding some caching to the tile fetching? I'm
> using a local squid cache which makes things much nicer, but I'm sure it
> would be even better to have something internal to the plugin.
May be you can reuse some party of JMapViewer/SlippyMapChooser. If
includes a very simple LRU in-memory cache for tiles.
See
<http://svn.openstreetmap.org/applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/MemoryTileCache.java>
for details.
Jan
More information about the josm-dev
mailing list