@Deprecated public class TMSMapLayer extends com.nutiteq.rasterlayers.RasterLayer
baseUrl + zoom + separator + x + separator + y + format
For example if: baseUrl = "http://tile.openstreetmap.org/", separator = "/", format = ".png"
"http://tile.openstreetmap.org/" + "0" + "/" + "0" + "/" + "0" + ".png"
Result: http://tile.openstreetmap.org/0/0/0.png
| Modifier and Type | Field and Description |
|---|---|
protected String |
format
Deprecated.
|
protected Map<String,String> |
httpHeaders
Deprecated.
|
protected String |
separator
Deprecated.
|
protected boolean |
tmsY
Deprecated.
|
| Constructor and Description |
|---|
TMSMapLayer(com.nutiteq.projections.Projection projection,
int minZoom,
int maxZoom,
int id,
String[] baseUrl,
String separator,
String format)
Deprecated.
|
TMSMapLayer(com.nutiteq.projections.Projection projection,
int minZoom,
int maxZoom,
int id,
String baseUrl,
String separator,
String format)
Deprecated.
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fetchTile(com.nutiteq.components.MapTile tile)
Deprecated.
|
void |
flush()
Deprecated.
|
void |
setHttpHeaders(Map<String,String> httpHeaders)
Deprecated.
Add HTTP headers.
|
void |
setTmsY(boolean tmsY)
Deprecated.
Use this to set that Y axis is according to TMS standard, ie with origin in southeast.
|
executeFetchTask, getDataSource, getFetchPriority, getId, getMaxZoom, getMinZoom, getTileColor, getTileIdOffset, getVisibleTiles, isMemoryCaching, isPersistentCaching, isTileFading, registerDataSourceListener, setComponents, setFetchPriority, setMemoryCaching, setPersistentCaching, setRenderProjection, setTileColor, setTileFading, setVisibleTiles, unregisterDataSourceListener, updateVisibleTilesprotected final String separator
protected final String format
protected boolean tmsY
public TMSMapLayer(com.nutiteq.projections.Projection projection,
int minZoom,
int maxZoom,
int id,
String baseUrl,
String separator,
String format)
projection - the desired projectionminZoom - the minimum zoommaxZoom - the maximum zoomid - the user generated id for this raster layerbaseUrl - the base URLseparator - the seperator for the URLformat - the image format for the urlpublic void setTmsY(boolean tmsY)
tmsY - true if TMS standard Y orientation is needed. Default is falsepublic void setHttpHeaders(Map<String,String> httpHeaders)
httpHeaders - public void fetchTile(com.nutiteq.components.MapTile tile)
fetchTile in class com.nutiteq.rasterlayers.RasterLayerpublic void flush()
flush in class com.nutiteq.rasterlayers.RasterLayerCopyright © 2014. All rights reserved.