Class CachedAttributionBingAerialTileSource
- java.lang.Object
-
- org.openstreetmap.gui.jmapviewer.tilesources.AbstractTileSource
-
- org.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource
-
- org.openstreetmap.gui.jmapviewer.tilesources.TMSTileSource
-
- org.openstreetmap.gui.jmapviewer.tilesources.BingAerialTileSource
-
- org.openstreetmap.josm.data.imagery.CachedAttributionBingAerialTileSource
-
- All Implemented Interfaces:
org.openstreetmap.gui.jmapviewer.interfaces.Attributed
,org.openstreetmap.gui.jmapviewer.interfaces.TileSource
public class CachedAttributionBingAerialTileSource extends org.openstreetmap.gui.jmapviewer.tilesources.BingAerialTileSource
Bing TileSource with cached attribution- Since:
- 8526
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
CachedAttributionBingAerialTileSource.AttributionTimerTask
A timer task for fetching Bing attribution information(package private) class
CachedAttributionBingAerialTileSource.BingAttributionData
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Runnable
attributionDownloadedTask
-
Fields inherited from class org.openstreetmap.gui.jmapviewer.tilesources.BingAerialTileSource
API_KEY_PLACEHOLDER, API_KEY_SETTING, METADATA_API_SETTING
-
Fields inherited from class org.openstreetmap.gui.jmapviewer.tilesources.TMSTileSource
maxZoom, minZoom, osmMercator
-
-
Constructor Summary
Constructors Constructor Description CachedAttributionBingAerialTileSource(org.openstreetmap.gui.jmapviewer.tilesources.TileSourceInfo info, java.lang.Runnable attributionDownloadedTask)
Creates tile sourceCachedAttributionBingAerialTileSource(ImageryInfo info)
Creates tile source
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.concurrent.Callable<java.util.List<org.openstreetmap.gui.jmapviewer.tilesources.BingAerialTileSource.Attribution>>
getAttributionLoaderCallable()
-
Methods inherited from class org.openstreetmap.gui.jmapviewer.tilesources.BingAerialTileSource
getAttribution, getAttributionImage, getAttributionImageURL, getAttributionLinkURL, getAttributionText, getAttributionUrl, getMaxZoom, getTermsOfUseText, getTermsOfUseURL, getTileUrl, parseAttributionText, requiresAttribution, setLayer
-
Methods inherited from class org.openstreetmap.gui.jmapviewer.tilesources.TMSTileSource
getCoveringTileRange, getDistance, getMinZoom, getServerCRS, isInside, latLonToTileXY, latLonToXY, projectedToTileXY, tileXYToLatLon, tileXYtoProjected, xyToLatLon
-
Methods inherited from class org.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource
getBaseUrl, getDefaultTileSize, getExtension, getId, getMetadata, getName, getTileId, getTilePath, getTileSize, getTileXMax, getTileXMin, getTileYMax, getTileYMin, isModTileFeatures, isNoTileAtZoom, toString
-
Methods inherited from class org.openstreetmap.gui.jmapviewer.tilesources.AbstractTileSource
setAttributionImage, setAttributionImageURL, setAttributionLinkURL, setAttributionText, setTermsOfUseText, setTermsOfUseURL
-
-
-
-
Field Detail
-
attributionDownloadedTask
private java.lang.Runnable attributionDownloadedTask
-
-
Constructor Detail
-
CachedAttributionBingAerialTileSource
public CachedAttributionBingAerialTileSource(ImageryInfo info)
Creates tile source- Parameters:
info
- ImageryInfo description of this tile source
-
CachedAttributionBingAerialTileSource
public CachedAttributionBingAerialTileSource(org.openstreetmap.gui.jmapviewer.tilesources.TileSourceInfo info, java.lang.Runnable attributionDownloadedTask)
Creates tile source- Parameters:
info
- ImageryInfo description of this tile sourceattributionDownloadedTask
- runnable to be executed once attribution is loaded
-
-
Method Detail
-
getAttributionLoaderCallable
protected java.util.concurrent.Callable<java.util.List<org.openstreetmap.gui.jmapviewer.tilesources.BingAerialTileSource.Attribution>> getAttributionLoaderCallable()
- Overrides:
getAttributionLoaderCallable
in classorg.openstreetmap.gui.jmapviewer.tilesources.BingAerialTileSource
-
-