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, File dir, Pyramid pyramid)Create a TMS TileLayer for a File directory  | 
                        
                                TMS
                                (java.lang.String name, java.lang.String imageType, URL url, Pyramid pyramid)Create a TMS TileLayer with a base URL  | 
                        
                                TMS
                                () | 
                        
| Type Params | Return Type | Name and description | 
|---|---|---|
 | 
                            void | 
                            close()Close the TileLayer  | 
                        
 | 
                            void | 
                            delete(ImageTile t)Delete a Tile 
  | 
                        
 | 
                            ImageTile | 
                            get(long z, long x, long y)Get a Tile 
 
  | 
                        
 | 
                            void | 
                            put(ImageTile t)Add a Tile 
  | 
                        
| 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 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