org.openstreetmap.gui.jmapviewer.interfaces
Interface TileLoader

All Known Implementing Classes:
JTileDownloaderTileLoader, OsmFileCacheTileLoader, OsmTileLoader

public interface TileLoader

Interface for implementing a tile loader. Tiles are usually loaded via HTTP or from a file.

Author:
Jan Peter Stotz

Method Summary
 java.lang.Runnable createTileLoaderJob(TileSource tileLayerSource, int tilex, int tiley, int zoom)
          A typical createTileLoaderJob(org.openstreetmap.gui.jmapviewer.interfaces.TileSource, int, int, int) implementation should create and return a new Runnable instance that performs the load action.
 

Method Detail

createTileLoaderJob

java.lang.Runnable createTileLoaderJob(TileSource tileLayerSource,
                                       int tilex,
                                       int tiley,
                                       int zoom)
A typical createTileLoaderJob(org.openstreetmap.gui.jmapviewer.interfaces.TileSource, int, int, int) implementation should create and return a new Runnable instance that performs the load action.

Parameters:
tileLayerSource -
tilex -
tiley -
zoom -
Returns:
Runnable implementation that performs the desired load action.