|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.epseelon.mobimap.tiles.TileFactory
org.epseelon.mobimap.tiles.EmptyTileFactory
public class EmptyTileFactory
A null implementation of TileFactory. Draws empty areas.
| Constructor Summary | |
|---|---|
EmptyTileFactory()
Creates a new instance of EmptyTileFactory |
|
EmptyTileFactory(TileFactoryInfo info)
Creates a new instance of EmptyTileFactory using the specified info. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
getCoordinatePart(int x,
int y,
int zoom)
|
protected int |
getParticularZoomFromReferenceZoom(int referenceZoom)
|
protected int |
getReferenceZoomFromParticularZoom(int particularZoom)
|
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. |
| Methods inherited from class org.epseelon.mobimap.tiles.TileFactory |
|---|
geoToPixel, getInfo, getMapSize, getTileSize, pixelToGeo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmptyTileFactory()
public EmptyTileFactory(TileFactoryInfo info)
| Method Detail |
|---|
public 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 -
protected void startLoading(Tile tile)
ExecutorService.
startLoading in class TileFactorytile - The tile to load.
protected java.lang.String getCoordinatePart(int x,
int y,
int zoom)
getCoordinatePart in class TileFactoryprotected int getParticularZoomFromReferenceZoom(int referenceZoom)
getParticularZoomFromReferenceZoom in class TileFactoryprotected int getReferenceZoomFromParticularZoom(int particularZoom)
getReferenceZoomFromParticularZoom in class TileFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||