|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TileSource
Nested Class Summary | |
---|---|
static class |
TileSource.TileUpdate
Specifies the different mechanisms for detecting updated tiles respectively only download newer tiles than those stored locally. |
Method Summary | |
---|---|
int |
getMaxZoom()
Specifies the maximum zoom value. |
int |
getMinZoom()
Specifies the minimum zoom value. |
java.lang.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. |
java.lang.String |
getTileType()
Specifies the tile image type. |
TileSource.TileUpdate |
getTileUpdate()
|
java.lang.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)
|
Methods inherited from interface org.openstreetmap.gui.jmapviewer.interfaces.Attributed |
---|
getAttributionImage, getAttributionImageURL, getAttributionLinkURL, getAttributionText, getTermsOfUseText, getTermsOfUseURL, requiresAttribution |
Method Detail |
---|
int getMaxZoom()
getMaxZoom()
].
JMapViewer.MAX_ZOOM
int getMinZoom()
TileSource.TileUpdate getTileUpdate()
TileSource.TileUpdate
java.lang.String getName()
java.lang.String getTileUrl(int zoom, int tilex, int tiley) throws java.io.IOException
zoom
- tilex
- tiley
-
java.io.IOException
java.lang.String 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |