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, setUserAgent
public 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.MalformedURLException
public byte getZoomLevelMax()
TileSource
supports.public byte getZoomLevelMin()
TileSource
supports.public boolean hasAlpha()
TileSource
supports transparent images.