类 EmptyTileFactory
- java.lang.Object
-
- org.meteoinfo.data.mapdata.webmap.TileFactory
-
- org.meteoinfo.data.mapdata.webmap.empty.EmptyTileFactory
-
public class EmptyTileFactory extends TileFactory
A null implementation of TileFactory. Draws empty areas.- 作者:
- joshy
-
-
构造器概要
构造器 构造器 说明 EmptyTileFactory()Creates a new instance of EmptyTileFactoryEmptyTileFactory(TileFactoryInfo info)Creates a new instance of EmptyTileFactory using the specified info.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 TilegetTile(int x, int y, int zoom)Gets an instance of an empty tile for the given tile position and zoom on the world map.voidload(Tile tile)protected voidstartLoading(Tile tile)Override this method to load the tile using, for example, anExecutorService.-
从类继承的方法 org.meteoinfo.data.mapdata.webmap.TileFactory
geoToPixel, getInfo, getMapSize, getTileSize, pixelToGeo
-
-
-
-
构造器详细资料
-
EmptyTileFactory
public EmptyTileFactory()
Creates a new instance of EmptyTileFactory
-
EmptyTileFactory
public EmptyTileFactory(TileFactoryInfo info)
Creates a new instance of EmptyTileFactory using the specified info.- 参数:
info- TileFactoryInfo
-
-
方法详细资料
-
getTile
public Tile getTile(int x, int y, int zoom)
Gets an instance of an empty tile for the given tile position and zoom on the world map.- 指定者:
getTile在类中TileFactory- 参数:
x- The tile's x position on the world map.y- The tile's y position on the world map.zoom- The current zoom level.- 返回:
- Tile
-
startLoading
protected void startLoading(Tile tile)
Override this method to load the tile using, for example, anExecutorService.- 指定者:
startLoading在类中TileFactory- 参数:
tile- The tile to load.
-
load
public void load(Tile tile)
- 指定者:
load在类中TileFactory
-
-