public abstract class AbstractTileSource extends Object implements TileSource
TileSource.TileUpdate| Modifier and Type | Field and Description |
|---|---|
protected Image |
attributionImage |
protected String |
attributionImageURL |
protected String |
attributionLinkURL |
protected String |
attributionText |
protected String |
termsOfUseText |
protected String |
termsOfUseURL |
| Constructor and Description |
|---|
AbstractTileSource() |
| Modifier and Type | Method and Description |
|---|---|
Image |
getAttributionImage() |
String |
getAttributionImageURL() |
String |
getAttributionLinkURL() |
String |
getAttributionText(int zoom,
Coordinate topLeft,
Coordinate botRight) |
String |
getTermsOfUseText() |
String |
getTermsOfUseURL() |
boolean |
requiresAttribution() |
void |
setAttributionImage(Image attributionImage) |
void |
setAttributionImageURL(String attributionImageURL) |
void |
setAttributionLinkURL(String attributionLinkURL) |
void |
setAttributionText(String attributionText) |
void |
setTermsOfUseText(String termsOfUseText) |
void |
setTermsOfUseURL(String termsOfUseURL) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaxZoom, getMinZoom, getName, getTileSize, getTileType, getTileUpdate, getTileUrl, latToTileY, lonToTileX, tileXToLon, tileYToLatprotected String attributionText
protected String attributionLinkURL
protected Image attributionImage
protected String attributionImageURL
protected String termsOfUseText
protected String termsOfUseURL
public AbstractTileSource()
public boolean requiresAttribution()
requiresAttribution in interface Attributedpublic String getAttributionText(int zoom, Coordinate topLeft, Coordinate botRight)
getAttributionText in interface Attributedzoom - 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.public String getAttributionLinkURL()
getAttributionLinkURL in interface Attributedpublic Image getAttributionImage()
getAttributionImage in interface Attributedpublic String getAttributionImageURL()
getAttributionImageURL in interface Attributedpublic String getTermsOfUseText()
getTermsOfUseText in interface Attributedpublic String getTermsOfUseURL()
getTermsOfUseURL in interface Attributedpublic void setAttributionText(String attributionText)
public void setAttributionLinkURL(String attributionLinkURL)
public void setAttributionImage(Image attributionImage)
public void setAttributionImageURL(String attributionImageURL)
public void setTermsOfUseText(String termsOfUseText)
public void setTermsOfUseURL(String termsOfUseURL)