A TileLayer that can generate Tiles on demand as a client tries to get them.
Constructor and description |
---|
GeneratingTileLayer
(TileLayer tileLayer, TileRenderer tileRenderer) Create a new GeneratingTileLayer that uses the TileRenderer to create Tiles on demand for the given TileLayer. |
GeneratingTileLayer
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
close() Close the TileLayer |
|
void |
delete(Tile tile) Delete a Tile
|
|
Tile |
get(long z, long x, long y) Get a Tile
|
|
Pyramid |
getPyramid() Get the Pyramid
|
|
void |
put(Tile tile) Add a Tile
|
Methods inherited from class | Name |
---|---|
class TileLayer |
close, delete, delete, get, getLayer, getPyramid, getTileCoordinates, getTileLayer, getTileLayer, getTileRenderer, getTileRenderer, put, tiles, tiles, tiles, tiles, tiles, tiles, toString, withTileLayer |
Create a new GeneratingTileLayer that uses the TileRenderer to create Tiles on demand for the given TileLayer.
tileLayer
- The TileLayertileRenderer
- The TileRendererClose the TileLayer
Delete a Tile
t
- The TileGet a Tile
z
- The zoom levelx
- The columny
- The rowGet the Pyramid
Add a Tile
t
- The Tile