public class EmptyTileFactory extends TileFactory
| Constructor and Description |
|---|
EmptyTileFactory()
Creates a new instance of EmptyTileFactory
|
EmptyTileFactory(TileFactoryInfo info)
Creates a new instance of EmptyTileFactory using the specified info.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes this TileFactory
|
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.
|
protected void |
startLoading(Tile tile)
Override this method to load the tile using, for example, an
ExecutorService. |
addTileListener, fireTileLoadedEvent, geoToPixel, getInfo, getMapSize, getTileSize, pixelToGeo, removeTileListenerpublic EmptyTileFactory()
public EmptyTileFactory(TileFactoryInfo info)
info - the tile factory infopublic Tile getTile(int x, int y, int zoom)
getTile in class TileFactoryx - The tile's x position on the world map.y - The tile's y position on the world map.zoom - The current zoom level.public void dispose()
TileFactorydispose in class TileFactoryprotected void startLoading(Tile tile)
ExecutorService.startLoading in class TileFactorytile - The tile to load.Copyright © 2014. All Rights Reserved.