GoogleTileServer, OsmTileServerpublic class TileServer extends URLService
| Constructor | Description |
|---|---|
TileServer(java.lang.String url,
int maxZoom) |
Initializes a TileServer using the default slippy format
|
TileServer(java.lang.String url,
int maxZoom,
java.lang.String urlFormat) |
Initializes a TileServer
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getMaxZoom() |
Gets the max zoom level supported by this TileServer
|
java.lang.String |
getTileURL(TileRef tile) |
|
java.lang.String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetURLpublic TileServer(java.lang.String url,
int maxZoom,
java.lang.String urlFormat)
url - the base url of the TileServermaxZoom - the max zoom level supported by this TileServerurlFormat - the format of the url parameters that are appended to the base
urlpublic TileServer(java.lang.String url,
int maxZoom)
url - the base url of the TileServermaxZoom - the max zoom level supported by this TileServerpublic java.lang.String getTileURL(TileRef tile)
public java.lang.String toString()
toString in class URLServicepublic int getMaxZoom()