The MBTiles TileLayer
Modifiers | Name | Description |
---|---|---|
static class |
MBTiles.Factory |
The MBTiles TileLayerFactory |
Type | Name and description |
---|---|
MBTilesFile |
tiles The GeoTools MBTilesFile |
Constructor and description |
---|
MBTiles
(java.io.File file) Create a new MBTilesLayer with a existing File |
MBTiles
(java.lang.String file) Create a new MBTilesLayer with a existing File |
MBTiles
(java.util.Map options = [:], java.io.File file, java.lang.String name, java.lang.String description) Create a new MBTilesLayer with a new File |
MBTiles
(java.util.Map options = [:], java.lang.String fileName, java.lang.String name, java.lang.String description) Create a new MBTilesLayer with a new File |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
close() |
|
void |
delete(ImageTile t) Delete a Tile |
|
void |
delete(TileCursor<ImageTile> tiles) Delete all Tiles in the TileCursor |
|
ImageTile |
get(long z, long x, long y) |
|
int |
getMaxZoom() Get the maximum zoom level of the tiles present. |
|
java.util.Map<java.lang.String, java.lang.String> |
getMetadata() Get metadata (type, name, description, format, version, attribution, bounds) |
|
int |
getMinZoom() Get the minimum zoom level of the tiles present. |
|
Pyramid |
getPyramid() |
|
java.util.List<java.util.Map> |
getTileCounts() Get the number of tiles per zoom level. |
|
void |
put(ImageTile t) |
Methods inherited from class | Name |
---|---|
class ImageTileLayer |
getMapLayers, getRaster, getRaster, getRaster |
class TileLayer |
close, delete, delete, get, getLayer, getPyramid, getTileCoordinates, getTileLayer, getTileLayer, getTileRenderer, getTileRenderer, put, tiles, tiles, tiles, tiles, tiles, tiles, toString, withTileLayer |
The GeoTools MBTilesFile
Create a new MBTilesLayer with a existing File
file
- The existing FileCreate a new MBTilesLayer with a existing File
file
- The existing File nameCreate a new MBTilesLayer with a new File
options
- The optional named parameters
file
- The new Filename
- The name of the layerdescription
- The description of the layerCreate a new MBTilesLayer with a new File
options
- The optional named parameters
file
- The new File namename
- The name of the layerdescription
- The description of the layerDelete a Tile
t
- The TileDelete all Tiles in the TileCursor
tiles
- The TileCursorGet the maximum zoom level of the tiles present.
Get metadata (type, name, description, format, version, attribution, bounds)
Get the minimum zoom level of the tiles present.
Get the number of tiles per zoom level.
Groovy Documentation