public class BingAerialTileSource extends AbstractTMSTileSource
| Modifier and Type | Class and Description |
|---|---|
protected class |
BingAerialTileSource.Attribution |
TileSource.TileUpdate| Modifier and Type | Field and Description |
|---|---|
private static String |
API_KEY |
private static Future<List<BingAerialTileSource.Attribution>> |
attributions |
private static Pattern |
culturePattern |
private static Integer |
imageryZoomMax |
private static String |
imageUrlTemplate |
private static Pattern |
quadkeyPattern |
private static Pattern |
subdomainPattern |
private static String[] |
subdomains |
baseUrl, nameattributionImage, attributionImageURL, attributionLinkURL, attributionText, termsOfUseText, termsOfUseURL| Constructor and Description |
|---|
BingAerialTileSource() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static String |
computeQuadTree(int zoom,
int tilex,
int tiley) |
protected List<BingAerialTileSource.Attribution> |
getAttribution() |
Image |
getAttributionImage() |
String |
getAttributionImageURL() |
String |
getAttributionLinkURL() |
protected Callable<List<BingAerialTileSource.Attribution>> |
getAttributionLoaderCallable() |
String |
getAttributionText(int zoom,
Coordinate topLeft,
Coordinate botRight) |
protected URL |
getAttributionUrl() |
int |
getMaxZoom()
Specifies the maximum zoom value.
|
String |
getTermsOfUseText() |
String |
getTermsOfUseURL() |
TileSource.TileUpdate |
getTileUpdate() |
String |
getTileUrl(int zoom,
int tilex,
int tiley)
Constructs the tile url.
|
protected List<BingAerialTileSource.Attribution> |
parseAttributionText(InputSource xml) |
boolean |
requiresAttribution() |
getBaseUrl, getExtension, getMinZoom, getName, getTilePath, getTileSize, getTileType, latToTileY, lonToTileX, tileXToLon, tileYToLat, toStringsetAttributionImage, setAttributionImageURL, setAttributionLinkURL, setAttributionText, setTermsOfUseText, setTermsOfUseURLprivate static volatile Future<List<BingAerialTileSource.Attribution>> attributions
private static String imageUrlTemplate
private static Integer imageryZoomMax
private static String[] subdomains
private static final Pattern subdomainPattern
private static final Pattern quadkeyPattern
private static final Pattern culturePattern
public BingAerialTileSource()
public String getTileUrl(int zoom, int tilex, int tiley) throws IOException
TileSourcegetTileUrl in interface TileSourcegetTileUrl in class AbstractTMSTileSourceIOExceptionprotected URL getAttributionUrl() throws MalformedURLException
MalformedURLExceptionprotected List<BingAerialTileSource.Attribution> parseAttributionText(InputSource xml) throws IOException
IOExceptionpublic int getMaxZoom()
TileSourceTileSource.getMaxZoom()].getMaxZoom in interface TileSourcegetMaxZoom in class AbstractTMSTileSourceJMapViewer.MAX_ZOOMpublic TileSource.TileUpdate getTileUpdate()
TileSource.TileUpdatepublic boolean requiresAttribution()
requiresAttribution in interface AttributedrequiresAttribution in class AbstractTileSourcepublic String getAttributionLinkURL()
getAttributionLinkURL in interface AttributedgetAttributionLinkURL in class AbstractTileSourcepublic Image getAttributionImage()
getAttributionImage in interface AttributedgetAttributionImage in class AbstractTileSourcepublic String getAttributionImageURL()
getAttributionImageURL in interface AttributedgetAttributionImageURL in class AbstractTileSourcepublic String getTermsOfUseText()
getTermsOfUseText in interface AttributedgetTermsOfUseText in class AbstractTileSourcepublic String getTermsOfUseURL()
getTermsOfUseURL in interface AttributedgetTermsOfUseURL in class AbstractTileSourceprotected Callable<List<BingAerialTileSource.Attribution>> getAttributionLoaderCallable()
protected List<BingAerialTileSource.Attribution> getAttribution()
public String getAttributionText(int zoom, Coordinate topLeft, Coordinate botRight)
getAttributionText in interface AttributedgetAttributionText in class AbstractTileSourcezoom - 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.static String computeQuadTree(int zoom, int tilex, int tiley)