Class WMSEndpointTileSource
java.lang.Object
org.openstreetmap.gui.jmapviewer.tilesources.AbstractTileSource
org.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource
org.openstreetmap.gui.jmapviewer.tilesources.TMSTileSource
org.openstreetmap.josm.data.imagery.AbstractWMSTileSource
org.openstreetmap.josm.data.imagery.WMSEndpointTileSource
- All Implemented Interfaces:
org.openstreetmap.gui.jmapviewer.interfaces.Attributed,org.openstreetmap.gui.jmapviewer.interfaces.TemplatedTileSource,org.openstreetmap.gui.jmapviewer.interfaces.TileSource
public class WMSEndpointTileSource
extends AbstractWMSTileSource
implements org.openstreetmap.gui.jmapviewer.interfaces.TemplatedTileSource
Class representing ImageryType.WMS_ENDPOINT tile source.
It differs from standard WMS tile source that this tile source fetches GetCapabilities from server and
uses most of the parameters from there
- Since:
- 13733
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<DefaultLayer>private static final Patternprivate final Stringprivate final WMSImageryFields inherited from class org.openstreetmap.josm.data.imagery.AbstractWMSTileSource
LATLON_FORMATFields inherited from class org.openstreetmap.gui.jmapviewer.tilesources.TMSTileSource
maxZoom, minZoom, osmMercatorFields inherited from class org.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource
baseUrl, id, modTileFeatures, name, tileSizeFields inherited from class org.openstreetmap.gui.jmapviewer.tilesources.AbstractTileSource
attributionImage, attributionImageURL, attributionLinkURL, attributionText, termsOfUseText, termsOfUseURL -
Constructor Summary
ConstructorsConstructorDescriptionWMSEndpointTileSource(ImageryInfo info, Projection tileProjection) Create WMSEndpointTileSource tile source -
Method Summary
Modifier and TypeMethodDescriptionintReturns list of EPSG codes that current layer selection supports.getTileUrl(int zoom, int tilex, int tiley) Methods inherited from class org.openstreetmap.josm.data.imagery.AbstractWMSTileSource
getBbox, getServerCRS, getTileEastNorth, getTileProjection, getTileXMax, getTileXMin, getTileYMax, getTileYMin, initProjection, initProjection, latLonToTileXY, latLonToXY, projectedToTileXY, setTileProjection, tileXYToLatLon, tileXYtoProjected, xyToLatLonMethods inherited from class org.openstreetmap.gui.jmapviewer.tilesources.TMSTileSource
getCoveringTileRange, getDistance, getMaxZoom, getMinZoom, isInsideMethods inherited from class org.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource
getBaseUrl, getExtension, getId, getMetadata, getName, getTileId, getTilePath, getTileSize, isModTileFeatures, isNoTileAtZoom, toStringMethods inherited from class org.openstreetmap.gui.jmapviewer.tilesources.AbstractTileSource
getAttributionImage, getAttributionImageURL, getAttributionLinkURL, getAttributionText, getTermsOfUseText, getTermsOfUseURL, requiresAttribution, setAttributionImage, setAttributionImageURL, setAttributionLinkURL, setAttributionText, setTermsOfUseText, setTermsOfUseURLMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openstreetmap.gui.jmapviewer.interfaces.Attributed
getAttributionImage, getAttributionImageURL, getAttributionLinkURL, getAttributionText, getTermsOfUseText, getTermsOfUseURL, requiresAttributionMethods inherited from interface org.openstreetmap.gui.jmapviewer.interfaces.TileSource
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
-
Field Details
-
wmsi
-
layers
-
urlPattern
-
PATTERN_PARAM
-
headers
-
-
Constructor Details
-
WMSEndpointTileSource
Create WMSEndpointTileSource tile source- Parameters:
info- WMS_ENDPOINT ImageryInfotileProjection- server projection that should be used by this tile source
-
-
Method Details
-
getDefaultTileSize
- Specified by:
getDefaultTileSizein interfaceorg.openstreetmap.gui.jmapviewer.interfaces.TileSource- Overrides:
getDefaultTileSizein classorg.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource
-
getTileUrl
- Specified by:
getTileUrlin interfaceorg.openstreetmap.gui.jmapviewer.interfaces.TileSource- Overrides:
getTileUrlin classorg.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource
-
getServerProjections
Returns list of EPSG codes that current layer selection supports.- Returns:
- list of EPSG codes that current layer selection supports (this may differ from layer to layer)
-
getHeaders
- Specified by:
getHeadersin interfaceorg.openstreetmap.gui.jmapviewer.interfaces.TemplatedTileSource
-