Package org.oscim.layers.tile
Class TileSet
java.lang.Object
org.oscim.layers.tile.TileSet
TileSet for use with TileManager.getActiveTiles(TileSet) to get the current
tiles. Tiles will locked and not be modifed until getActiveTiles passes them
back to TileManager on a second invocation or TileManager.releaseTiles().
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
cnt
public int cnt -
tiles
-
coordComparator
-
-
Constructor Details
-
TileSet
public TileSet() -
TileSet
public TileSet(int numTiles)
-
-
Method Details
-
getTile
-
lockTiles
public void lockTiles()Locked tiles to ensure that they are not released from cache. Call releaseTiles() when tiles are not needed any longer. -
releaseTiles
public void releaseTiles()Release locked tiles. -
setTiles
Clone TileSet from source. Release previous tiles and lock new tiles. -
contains
-