public class EmptyTileFactory extends TileFactory
| 构造器 | 说明 |
|---|---|
EmptyTileFactory() |
Creates a new instance of EmptyTileFactory
|
EmptyTileFactory(TileFactoryInfo info) |
Creates a new instance of EmptyTileFactory using the specified info.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
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.
|
void |
load(Tile tile) |
|
protected void |
startLoading(Tile tile) |
Override this method to load the tile using, for example, an
ExecutorService. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgeoToPixel, getInfo, getMapSize, getTileSize, pixelToGeopublic EmptyTileFactory()
public EmptyTileFactory(TileFactoryInfo info)
info - TileFactoryInfopublic Tile getTile(int x, int y, int zoom)
getTile 在类中 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.protected void startLoading(Tile tile)
ExecutorService.startLoading 在类中 TileFactorytile - The tile to load.public void load(Tile tile)
load 在类中 TileFactoryCopyright © 2019. All rights reserved.