class OSM extends ImageTileLayer
A Open Street Map TileLayer that is ready only.
Modifiers | Name | Description |
---|---|---|
static class |
OSM.Factory |
The OSM TileLayerFactory |
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 |
|
Pyramid |
getPyramid() Get the Pyramid |
|
static OSM |
getWellKnownOSM(java.lang.String name) Get a well known OSM Layer. |
|
void |
put(ImageTile t) Add a Tile |
Methods inherited from class | Name |
---|---|
class ImageTileLayer |
getMapLayers, getRaster, getRaster, getRaster |
The base URL for OSM map tiles
The image type
Create an OSM TileLayer with the default base URL
Create an OSM TileLayer with a default base URL
name
- The name of the TileLayerbaseUrls
- The List of base URL for OSM map tilesCreate an OSM TileLayer with a default base URL
baseUrl
- The base URL for OSM map tilesClose the TileLayer
Delete a Tile
t
- The TileGet a Tile
z
- The zoom levelx
- The columny
- The rowGet the Pyramid
Get a well known OSM Layer.
name
- The name of the well known OSM Layer (stamen-toner, stamen-toner-lite, stamen-watercolor, mapquest-street,
mapquest-satellite, or osm)Add a Tile
t
- The TileGroovy Documentation