public class WMSEndpointTileSource extends AbstractWMSTileSource implements TemplatedTileSource
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.lang.String> |
headers |
private java.util.List<DefaultLayer> |
layers |
private static java.util.regex.Pattern |
PATTERN_PARAM |
private java.lang.String |
urlPattern |
private WMSImagery |
wmsi |
LATLON_FORMAT
maxZoom, minZoom, osmMercator
baseUrl, id, modTileFeatures, name, tileSize
attributionImage, attributionImageURL, attributionLinkURL, attributionText, termsOfUseText, termsOfUseURL
Constructor and Description |
---|
WMSEndpointTileSource(ImageryInfo info,
Projection tileProjection)
Create WMSEndpointTileSource tile source
|
Modifier and Type | Method and Description |
---|---|
int |
getDefaultTileSize() |
java.util.Map<java.lang.String,java.lang.String> |
getHeaders() |
java.util.List<java.lang.String> |
getServerProjections() |
java.lang.String |
getTileUrl(int zoom,
int tilex,
int tiley)
Constructs the tile url.
|
getBbox, getServerCRS, getTileEastNorth, getTileProjection, getTileXMax, getTileXMin, getTileYMax, getTileYMin, initProjection, initProjection, latLonToTileXY, latLonToTileXY, latLonToXY, latLonToXY, projectedToTileXY, setTileProjection, tileXYToLatLon, tileXYToLatLon, tileXYToLatLon, tileXYtoProjected, xyToLatLon, xyToLatLon
getCoveringTileRange, getDistance, getMaxZoom, getMinZoom, isInside
getBaseUrl, getExtension, getId, getMetadata, getName, getTileId, getTilePath, getTileSize, isModTileFeatures, isNoTileAtZoom, toString
getAttributionImage, getAttributionImageURL, getAttributionLinkURL, getAttributionText, getTermsOfUseText, getTermsOfUseURL, requiresAttribution, setAttributionImage, setAttributionImageURL, setAttributionLinkURL, setAttributionText, setTermsOfUseText, setTermsOfUseURL
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCoveringTileRange, getDistance, getId, getMaxZoom, getMetadata, getMinZoom, getName, getServerCRS, getTileId, getTileSize, getTileXMax, getTileXMin, getTileYMax, getTileYMin, isInside, isModTileFeatures, isNoTileAtZoom, latLonToTileXY, latLonToTileXY, latLonToXY, latLonToXY, projectedToTileXY, tileXYToLatLon, tileXYToLatLon, tileXYToLatLon, tileXYtoProjected, xyToLatLon, xyToLatLon
getAttributionImage, getAttributionImageURL, getAttributionLinkURL, getAttributionText, getTermsOfUseText, getTermsOfUseURL, requiresAttribution
private final WMSImagery wmsi
private final java.util.List<DefaultLayer> layers
private final java.lang.String urlPattern
private static final java.util.regex.Pattern PATTERN_PARAM
private final java.util.Map<java.lang.String,java.lang.String> headers
public WMSEndpointTileSource(ImageryInfo info, Projection tileProjection)
info
- WMS_ENDPOINT ImageryInfotileProjection
- server projection that should be used by this tile sourcepublic int getDefaultTileSize()
getDefaultTileSize
in interface TileSource
getDefaultTileSize
in class AbstractTMSTileSource
public java.lang.String getTileUrl(int zoom, int tilex, int tiley)
TileSource
getTileUrl
in interface TileSource
getTileUrl
in class AbstractTMSTileSource
zoom
- zoom leveltilex
- X coordinatetiley
- Y coordinatepublic java.util.List<java.lang.String> getServerProjections()
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
getHeaders
in interface TemplatedTileSource