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 
    A timer task for fetching Bing attribution information
    (package private) class 
     

    Nested classes/interfaces inherited from class org.openstreetmap.gui.jmapviewer.tilesources.BingAerialTileSource

    org.openstreetmap.gui.jmapviewer.tilesources.BingAerialTileSource.Attribution
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private Runnable
     

    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

    Fields inherited from class org.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource

    baseUrl, id, modTileFeatures, name, tileSize

    Fields inherited from class org.openstreetmap.gui.jmapviewer.tilesources.AbstractTileSource

    attributionImage, attributionImageURL, attributionLinkURL, attributionText, termsOfUseText, termsOfUseURL
  • Constructor Summary

    Constructors
    Constructor
    Description
    CachedAttributionBingAerialTileSource(org.openstreetmap.gui.jmapviewer.tilesources.TileSourceInfo info, Runnable attributionDownloadedTask)
    Creates tile source
    Creates tile source
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Callable<List<org.openstreetmap.gui.jmapviewer.tilesources.BingAerialTileSource.Attribution>>
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.openstreetmap.gui.jmapviewer.interfaces.TileSource

    latLonToTileXY, latLonToXY, tileXYToLatLon, tileXYToLatLon, xyToLatLon
  • Field Details

  • Constructor Details

    • CachedAttributionBingAerialTileSource

      Creates tile source
      Parameters:
      info - ImageryInfo description of this tile source
    • CachedAttributionBingAerialTileSource

      public CachedAttributionBingAerialTileSource(org.openstreetmap.gui.jmapviewer.tilesources.TileSourceInfo info, Runnable attributionDownloadedTask)
      Creates tile source
      Parameters:
      info - ImageryInfo description of this tile source
      attributionDownloadedTask - runnable to be executed once attribution is loaded
  • Method Details

    • getAttributionLoaderCallable

      protected Callable<List<org.openstreetmap.gui.jmapviewer.tilesources.BingAerialTileSource.Attribution>> getAttributionLoaderCallable()
      Overrides:
      getAttributionLoaderCallable in class org.openstreetmap.gui.jmapviewer.tilesources.BingAerialTileSource