Package nl.bebr.mapviewer.data.esri
Class ESRITileFactory<T,U extends Tile<T>>
- java.lang.Object
-
- nl.bebr.mapviewer.data.TileFactory<T,U>
-
- nl.bebr.mapviewer.data.AbstractTileFactory<T,U>
-
- nl.bebr.mapviewer.data.DefaultTileFactory<T,U>
-
- nl.bebr.mapviewer.data.esri.ESRITileFactory<T,U>
-
public class ESRITileFactory<T,U extends Tile<T>> extends DefaultTileFactory<T,U>
- Author:
- rbair
-
-
Constructor Summary
Constructors Constructor Description ESRITileFactory()Creates a new instance of ESRITileFactory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UcreateTile(int x, int y, int zoom, String url, AbstractTileFactory<T,U> tileFactory)TileCache<T>createTileCache()protected RunnablecreateTileRunner()Subclasses can override this if they need custom TileRunners for some reasonprotected Map<String,U>getTileMap()gets tileMap which should be static.
target implementation should provide static tileMapBlockingQueue<U>getTileQueue()gets tileQueue which should be static.
target implementation should provide static tileQueuevoidsetUserID(String id)-
Methods inherited from class nl.bebr.mapviewer.data.AbstractTileFactory
clearQueueAndStopLoading, getService, getTile, getTileCache, promote, setTileCache, startLoading
-
Methods inherited from class nl.bebr.mapviewer.data.TileFactory
geoToPixel, getInfo, getMapSize, getTileSize, pixelToGeo
-
-
-
-
Method Detail
-
setUserID
public void setUserID(String id)
-
createTileRunner
protected Runnable createTileRunner()
Description copied from class:AbstractTileFactorySubclasses can override this if they need custom TileRunners for some reason- Specified by:
createTileRunnerin classAbstractTileFactory<T,U extends Tile<T>>- Returns:
-
createTileCache
public TileCache<T> createTileCache()
- Specified by:
createTileCachein classAbstractTileFactory<T,U extends Tile<T>>
-
createTile
public U createTile(int x, int y, int zoom, String url, AbstractTileFactory<T,U> tileFactory)
- Specified by:
createTilein classAbstractTileFactory<T,U extends Tile<T>>
-
getTileQueue
public BlockingQueue<U> getTileQueue()
Description copied from class:AbstractTileFactorygets tileQueue which should be static.
target implementation should provide static tileQueue- Specified by:
getTileQueuein classAbstractTileFactory<T,U extends Tile<T>>
-
getTileMap
protected Map<String,U> getTileMap()
Description copied from class:AbstractTileFactorygets tileMap which should be static.
target implementation should provide static tileMap- Specified by:
getTileMapin classAbstractTileFactory<T,U extends Tile<T>>
-
-