public abstract static class OsmTileSource.CycleMap extends AbstractOsmTileSource
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
PATTERN |
private static java.lang.String[] |
SERVER |
private int |
serverNum |
DEFAULT_OSM_ATTRIBUTIONmaxZoom, minZoom, osmMercatorbaseUrl, id, modTileFeatures, name, tileSizeattributionImage, attributionImageURL, attributionLinkURL, attributionText, termsOfUseText, termsOfUseURL| Constructor and Description |
|---|
CycleMap()
Constructs a new
CycleMap tile source. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.String |
getApiKey()
Get the thunderforest API key.
|
java.lang.String |
getBaseUrl() |
int |
getMaxZoom()
Specifies the maximum zoom value.
|
java.lang.String |
getTermsOfUseText() |
java.lang.String |
getTermsOfUseURL() |
java.lang.String |
getTileUrl(int zoom,
int tilex,
int tiley)
Constructs the tile url.
|
getAttributionImage, getAttributionImageURL, getAttributionLinkURL, getAttributionText, requiresAttributiongetCoveringTileRange, getDistance, getMinZoom, getServerCRS, isInside, latLonToTileXY, latLonToXY, projectedToTileXY, tileXYToLatLon, tileXYtoProjected, xyToLatLongetDefaultTileSize, getExtension, getId, getMetadata, getName, getTileId, getTilePath, getTileSize, getTileXMax, getTileXMin, getTileYMax, getTileYMin, isModTileFeatures, isNoTileAtZoom, latLonToTileXY, latLonToXY, tileXYToLatLon, tileXYToLatLon, toString, xyToLatLonsetAttributionImage, setAttributionImageURL, setAttributionLinkURL, setAttributionText, setTermsOfUseText, setTermsOfUseURLprivate static final java.lang.String PATTERN
private static final java.lang.String[] SERVER
private int serverNum
public CycleMap()
CycleMap tile source.public java.lang.String getBaseUrl()
getBaseUrl in class AbstractTMSTileSourceprotected abstract java.lang.String getApiKey()
public int getMaxZoom()
TileSourceTileSource.getMaxZoom()].getMaxZoom in interface TileSourcegetMaxZoom in class AbstractOsmTileSourceJMapViewer.MAX_ZOOMpublic java.lang.String getTileUrl(int zoom, int tilex, int tiley) throws java.io.IOException
TileSourcegetTileUrl in interface TileSourcegetTileUrl in class AbstractTMSTileSourcezoom - zoom leveltilex - X coordinatetiley - Y coordinatejava.io.IOException - if any I/O error occurspublic java.lang.String getTermsOfUseText()
getTermsOfUseText in interface AttributedgetTermsOfUseText in class AbstractOsmTileSourcepublic java.lang.String getTermsOfUseURL()
getTermsOfUseURL in interface AttributedgetTermsOfUseURL in class AbstractOsmTileSource