public class OpenStreetMapMapnik extends AbstractTileSource
TileDownloadLayer for details on the TTL mechanism.| Modifier and Type | Field and Description |
|---|---|
static OpenStreetMapMapnik |
INSTANCE |
defaultTimeToLive, followRedirects, hostNames, port, random, referer, timeoutConnect, timeoutRead, userAgent| Constructor and Description |
|---|
OpenStreetMapMapnik(java.lang.String[] hostNames,
int port) |
| Modifier and Type | Method and Description |
|---|---|
int |
getParallelRequestsLimit() |
java.net.URL |
getTileUrl(org.mapsforge.core.model.Tile tile) |
byte |
getZoomLevelMax() |
byte |
getZoomLevelMin() |
boolean |
hasAlpha() |
equals, getDefaultTimeToLive, getHostName, getReferer, getTimeoutConnect, getTimeoutRead, getUserAgent, hashCode, isFollowRedirects, setFollowRedirects, setReferer, setTimeoutConnect, setTimeoutRead, setUserAgentpublic static final OpenStreetMapMapnik INSTANCE
public OpenStreetMapMapnik(java.lang.String[] hostNames,
int port)
public int getParallelRequestsLimit()
TileSource supports.public java.net.URL getTileUrl(org.mapsforge.core.model.Tile tile)
throws java.net.MalformedURLException
Tile.java.net.MalformedURLExceptionpublic byte getZoomLevelMax()
TileSource supports.public byte getZoomLevelMin()
TileSource supports.public boolean hasAlpha()
TileSource supports transparent images.