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


_______________________________________________
josm-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to