public class TileMercatorSVG extends Tile
Tile.TileState| Modifier and Type | Field and Description |
|---|---|
protected static LocationType |
centerOfImage |
protected static java.lang.String |
fxWM |
protected static double |
h |
protected static java.lang.String |
tileClassId |
protected static double |
w |
id, image, lasErrorMessage, levelOfDetail, MILISECONDS_TO_TILE_MEM_REMOVAL, temporaryTransparencyDetectedOnImageOnDisk, TILE_BASE_CACHE_DIR, TILE_FX_EXTENSION, tileX, tileY, worldX, worldY| Constructor and Description |
|---|
TileMercatorSVG(java.lang.Integer levelOfDetail,
java.lang.Integer tileX,
java.lang.Integer tileY,
java.awt.image.BufferedImage image) |
TileMercatorSVG(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearDiskCache() |
protected void |
createTileImage()
Implement this to generate the tile image.
|
static int |
getMaxLevelOfDetail() |
static <T extends Tile> |
getTilesMap() |
protected float |
getTransparencyToApplyToImage()
[0.0, 1.0]
|
static boolean |
isFetchableOrGenerated() |
static java.util.Vector<TileMercatorSVG> |
loadCache() |
protected static org.apache.batik.transcoder.print.PrintTranscoder |
loadWorld(java.lang.String fx,
double w,
double h) |
static void |
main(java.lang.String[] args) |
void |
retryLoadingTile()
Will retry to reload the tile if the
Tile.state==ERROR
Please call this even if you need to override it. |
protected void |
testForAlfaOnLoaddImage(java.awt.image.BufferedImage img) |
clearDiskCache, dispose, getId, getLasErrorMessage, getLastPaintTimeMillis, getState, getTileFilePath, getTileFilePathFor, getTileStyleID, isBaseOrLayerMap, isShowTileId, loadCache, loadOrCreateTileImage, loadTile, paint, saveTile, setShowTileId, setState, staticPropertiesChangedprotected static java.lang.String tileClassId
protected static final java.lang.String fxWM
protected static final double w
protected static final double h
protected static final LocationType centerOfImage
public TileMercatorSVG(java.lang.Integer levelOfDetail,
java.lang.Integer tileX,
java.lang.Integer tileY,
java.awt.image.BufferedImage image)
throws java.lang.Exception
java.lang.Exceptionpublic TileMercatorSVG(java.lang.String id)
throws java.lang.Exception
id - java.lang.Exceptionprotected static org.apache.batik.transcoder.print.PrintTranscoder loadWorld(java.lang.String fx,
double w,
double h)
public void retryLoadingTile()
TileTile.state==ERROR
Please call this even if you need to override it.retryLoadingTile in class Tilepublic static int getMaxLevelOfDetail()
protected void createTileImage()
TileTile.state,
if equal to Tile.TileState.DISPOSING or
Tile.TileState.FATAL_ERROR return without processing.createTileImage in class Tileprotected void testForAlfaOnLoaddImage(java.awt.image.BufferedImage img)
testForAlfaOnLoaddImage in class Tileprotected float getTransparencyToApplyToImage()
TilegetTransparencyToApplyToImage in class Tilepublic static boolean isFetchableOrGenerated()
public static <T extends Tile> java.util.Map<java.lang.String,T> getTilesMap()
public static void clearDiskCache()
public static java.util.Vector<TileMercatorSVG> loadCache()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2004-2016 FEUP-LSTS and Neptus developers. All Rights Reserved.