public class BingAerialTileSource extends AbstractTMSTileSource
Modifier and Type | Class and Description |
---|---|
protected class |
BingAerialTileSource.Attribution |
TileSource.TileUpdate
baseUrl, name
attributionImage, attributionImageURL, attributionLinkURL, attributionText, termsOfUseText, termsOfUseURL
Constructor and Description |
---|
BingAerialTileSource() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<BingAerialTileSource.Attribution> |
getAttribution() |
java.awt.Image |
getAttributionImage() |
java.lang.String |
getAttributionImageURL() |
java.lang.String |
getAttributionLinkURL() |
protected java.util.concurrent.Callable<java.util.List<BingAerialTileSource.Attribution>> |
getAttributionLoaderCallable() |
java.lang.String |
getAttributionText(int zoom,
Coordinate topLeft,
Coordinate botRight) |
protected java.net.URL |
getAttributionUrl() |
int |
getMaxZoom()
Specifies the maximum zoom value.
|
java.lang.String |
getTermsOfUseText() |
java.lang.String |
getTermsOfUseURL() |
TileSource.TileUpdate |
getTileUpdate() |
java.lang.String |
getTileUrl(int zoom,
int tilex,
int tiley)
Constructs the tile url.
|
protected java.util.List<BingAerialTileSource.Attribution> |
parseAttributionText(org.xml.sax.InputSource xml) |
boolean |
requiresAttribution() |
getBaseUrl, getDistance, getExtension, getMinZoom, getName, getTilePath, getTileSize, getTileType, latToTileY, LatToY, lonToTileX, LonToX, tileXToLon, tileYToLat, toString, XToLon, YToLat
setAttributionImage, setAttributionImageURL, setAttributionLinkURL, setAttributionText, setTermsOfUseText, setTermsOfUseURL
public java.lang.String getTileUrl(int zoom, int tilex, int tiley) throws java.io.IOException
TileSource
getTileUrl
in interface TileSource
getTileUrl
in class AbstractTMSTileSource
java.io.IOException
protected java.net.URL getAttributionUrl() throws java.net.MalformedURLException
java.net.MalformedURLException
protected java.util.List<BingAerialTileSource.Attribution> parseAttributionText(org.xml.sax.InputSource xml) throws java.io.IOException
java.io.IOException
public int getMaxZoom()
TileSource
TileSource.getMaxZoom()
].getMaxZoom
in interface TileSource
getMaxZoom
in class AbstractTMSTileSource
JMapViewer.MAX_ZOOM
public TileSource.TileUpdate getTileUpdate()
TileSource.TileUpdate
public boolean requiresAttribution()
requiresAttribution
in interface Attributed
requiresAttribution
in class AbstractTileSource
public java.lang.String getAttributionLinkURL()
getAttributionLinkURL
in interface Attributed
getAttributionLinkURL
in class AbstractTileSource
public java.awt.Image getAttributionImage()
getAttributionImage
in interface Attributed
getAttributionImage
in class AbstractTileSource
public java.lang.String getAttributionImageURL()
getAttributionImageURL
in interface Attributed
getAttributionImageURL
in class AbstractTileSource
public java.lang.String getTermsOfUseText()
getTermsOfUseText
in interface Attributed
getTermsOfUseText
in class AbstractTileSource
public java.lang.String getTermsOfUseURL()
getTermsOfUseURL
in interface Attributed
getTermsOfUseURL
in class AbstractTileSource
protected java.util.concurrent.Callable<java.util.List<BingAerialTileSource.Attribution>> getAttributionLoaderCallable()
protected java.util.List<BingAerialTileSource.Attribution> getAttribution()
public java.lang.String getAttributionText(int zoom, Coordinate topLeft, Coordinate botRight)
getAttributionText
in interface Attributed
getAttributionText
in class AbstractTileSource
zoom
- The optional zoom level for the view.topLeft
- The top left of the bounding box for attribution.botRight
- The bottom right of the bounding box for attribution.