public class WMTSLayer extends AbstractCachedTileSourceLayer
AbstractTileSourceLayer.PrecacheTaskImageryLayer.ApplyOffsetAction, ImageryLayer.GammaImageProcessor, ImageryLayer.OffsetActionLayer.LayerAction, Layer.LayerGpxExportAction, Layer.LayerSaveAction, Layer.LayerSaveAsAction, Layer.MultiLayerAction, Layer.SeparatorLayerAction| Modifier and Type | Field and Description |
|---|---|
private static String |
CACHE_REGION_NAME |
static BooleanProperty |
PROP_DEFAULT_AUTOZOOM
default setting of autozoom per layer
|
MAX_DISK_CACHE_SIZEautoLoad, autoZoom, currentZoomLevel, MAX_ZOOM, MIN_ZOOM, PROP_DEFAULT_AUTOLOAD, PROP_DEFAULT_SHOWERRORS, PROP_MAX_ZOOM_LVL, PROP_MIN_ZOOM_LVL, showErrors, tileCache, tileLoader, tileSource, ZOOM_OFFSETdx, dy, gammaImageProcessor, icon, info, PROP_FADE_AMOUNT, PROP_FADE_COLOR, PROP_SHARPEN_LEVELFILTER_STATE_PROP, ICON_SIZE, NAME_PROP, OPACITY_PROP, propertyChangeSupport, VISIBLE_PROPABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
WMTSLayer(ImageryInfo info)
Creates WMTS layer from ImageryInfo
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
getBestZoom() |
static org.apache.commons.jcs.access.CacheAccess<String,BufferedImageCacheEntry> |
getCache() |
protected String |
getCacheName() |
protected Class<? extends TileLoader> |
getTileLoaderClass() |
protected AbstractTMSTileSource |
getTileSource(ImageryInfo info) |
private double |
getTileToScreenRatio(int zoom) |
boolean |
isProjectionSupported(Projection proj)
allows to check whether a projection is supported or not
|
String |
nameSupportedProjections()
Specify user information about projections
|
void |
projectionChanged(Projection oldValue,
Projection newValue) |
getCache, getDiskCacheSize, getTileLoaderFactory, getTileLoaderFactory, setTileLoaderFactorycheckMaxZoomLvl, checkMinZoomLvl, clearTileCache, createAndOpenSaveFileChooser, decreaseZoomLevel, downloadAreaToCache, estimateMemoryUsage, estimateTileCacheSize, getHeaders, getMaxZoomLvl, getMaxZoomLvl, getMenuEntries, getMinZoomLvl, getMinZoomLvl, getToolTipText, hookUpMapView, imageUpdate, increaseZoomLevel, initTileSource, isChanged, isSavable, loadAllErrorTiles, loadAllTiles, paint, redraw, setGamma, setMaxZoomLvl, setMinZoomLvl, setOffset, setZoomLevel, tileLoadingFinished, visitBoundingBox, zoomChanged, zoomDecreaseAllowed, zoomIncreaseAllowedaddImageProcessor, applyImageProcessors, create, createImageProcessor, createSharpener, destroy, displace, drawErrorTile, getDx, getDy, getFadeColor, getFadeColorWithAlpha, getGamma, getIcon, getImageProcessors, getInfo, getInfoComponent, getOffsetMenuItem, getOffsetMenuItem, getPPD, isMergable, mergeFrom, removeImageProcessoraddPropertyChangeListener, checkSaveConditions, fireFilterStateChanged, fireOpacityChanged, fireVisibleChanged, getAssociatedFile, getColor, getName, getOpacity, isBackgroundLayer, isInfoResizable, isVisible, onPostLoadFromFile, removePropertyChangeListener, setAssociatedFile, setBackgroundLayer, setFilterStateChanged, setName, setOpacity, setVisible, toggleVisiblepublic static final BooleanProperty PROP_DEFAULT_AUTOZOOM
private static final String CACHE_REGION_NAME
public WMTSLayer(ImageryInfo info)
info - Imagery Info describing the layerprotected AbstractTMSTileSource getTileSource(ImageryInfo info)
getTileSource in class AbstractTileSourceLayerinfo - imagery infoprivate double getTileToScreenRatio(int zoom)
zoom - level of the tileprotected int getBestZoom()
getBestZoom in class AbstractTileSourceLayerpublic boolean isProjectionSupported(Projection proj)
LayerisProjectionSupported in class Layerproj - projectionpublic String nameSupportedProjections()
LayernameSupportedProjections in class Layerpublic void projectionChanged(Projection oldValue, Projection newValue)
projectionChanged in interface ProjectionChangeListenerprojectionChanged in class Layerprotected Class<? extends TileLoader> getTileLoaderClass()
getTileLoaderClass in class AbstractCachedTileSourceLayerprotected String getCacheName()
getCacheName in class AbstractCachedTileSourceLayerpublic static org.apache.commons.jcs.access.CacheAccess<String,BufferedImageCacheEntry> getCache()