public interface TileSource extends Attributed
| Modifier and Type | Interface and Description |
|---|---|
static class |
TileSource.TileUpdate
Specifies the different mechanisms for detecting updated tiles
respectively only download newer tiles than those stored locally.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxZoom()
Specifies the maximum zoom value.
|
int |
getMinZoom()
Specifies the minimum zoom value.
|
String |
getName()
A tile layer name has to be unique and has to consist only of characters
valid for filenames.
|
int |
getTileSize()
Specifies how large each tile is.
|
String |
getTileType()
Specifies the tile image type.
|
TileSource.TileUpdate |
getTileUpdate() |
String |
getTileUrl(int zoom,
int tilex,
int tiley)
Constructs the tile url.
|
double |
latToTileY(double lat,
int zoom) |
double |
lonToTileX(double lon,
int zoom) |
double |
tileXToLon(int x,
int zoom) |
double |
tileYToLat(int y,
int zoom) |
getAttributionImage, getAttributionImageURL, getAttributionLinkURL, getAttributionText, getTermsOfUseText, getTermsOfUseURL, requiresAttributionint getMaxZoom()
getMaxZoom()].JMapViewer.MAX_ZOOMint getMinZoom()
TileSource.TileUpdate getTileUpdate()
TileSource.TileUpdateString getName()
String getTileUrl(int zoom, int tilex, int tiley) throws IOException
zoom - tilex - tiley - IOExceptionString getTileType()
"png".int getTileSize()
double latToTileY(double lat, int zoom)
double lonToTileX(double lon, int zoom)
double tileYToLat(int y, int zoom)
double tileXToLon(int x, int zoom)