class TMS extends ImageTileLayer
A Tile Map Service (TMS) TileLayer. A TMS TileLayer can read or write Tiles if given a File directory but it is ready only if given a URL.
Modifiers | Name | Description |
---|---|---|
static class |
TMS.Factory |
The TMS TileLayerFactory |
Constructor and description |
---|
TMS
(java.lang.String name, java.lang.String imageType, java.lang.String fileOrUrl, Pyramid pyramid) Create a TMS TileLayer for a File directory |
TMS
(java.lang.String name, java.lang.String imageType, java.io.File dir, Pyramid pyramid) Create a TMS TileLayer for a File directory |
TMS
(java.lang.String name, java.lang.String imageType, java.net.URL url, Pyramid pyramid) Create a TMS TileLayer with a base URL |
Methods inherited from class | Name |
---|---|
class ImageTileLayer |
getMapLayers, getRaster, getRaster, getRaster |
The File directory
The image type (png, jpeg, gif)
The Pyramid structure
The base URL
Create a TMS TileLayer for a File directory
name
- The name of the TMS TileLayerimageType
- The image type (png, jpeg, gif)fileOrUrl
- The File directory or URLpyramid
- The PyramidCreate a TMS TileLayer for a File directory
name
- The name of the TMS TileLayerimageType
- The image type (png, jpeg, gif)dir
- The File directorypyramid
- The PyramidCreate a TMS TileLayer with a base URL
name
- The name of the TMS TileLayerimageType
- The image type (png, jpeg, gif)url
- The base URLpyramid
- The PyramidClose the TileLayer
Delete a Tile
t
- The TileGet a Tile
z
- The zoom levelx
- The columny
- The rowAdd a Tile
t
- The TileGroovy Documentation