@Deprecated public class QuadKeyLayer extends com.nutiteq.rasterlayers.RasterLayer
baseUrl + QuadKey + extension QuadKey single tile number, as used for Bing maps: http://msdn.microsoft.com/en-us/library/bb259689.aspx
For example if: baseUrl = "http://ecn.t3.tiles.virtualearth.net/tiles/r", extension = ".png?g=1&mkt=en-US&shading=hill&n=z"
QuadKey (as used in Bing maps API): 123
Result: http://ecn.t3.tiles.virtualearth.net/tiles/r123.png?g=1&mkt=en-US&shading=hill&n=z Note: If you use Bing Maps tiles make sure you follow Microsoft Terms of Service. It may or it may not be legal for commercial applications.
| Modifier and Type | Field and Description |
|---|---|
protected String |
extension
Deprecated.
|
| Constructor and Description |
|---|
QuadKeyLayer(com.nutiteq.projections.Projection projection,
int minZoom,
int maxZoom,
int id,
String baseUrl,
String extension)
Deprecated.
Creates a new raster layer that uses a specified URL as a source for the tile data.
|
| 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.
|
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 extension
public QuadKeyLayer(com.nutiteq.projections.Projection projection,
int minZoom,
int maxZoom,
int id,
String baseUrl,
String extension)
projection - the desired projectionminZoom - the minimum zoommaxZoom - the maximum zoomid - the user generated id for this raster layerbaseUrl - the base URLextension - URL extension, usually starts with the image formatpublic 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.