@Deprecated public class StoredMapLayer extends com.nutiteq.rasterlayers.RasterLayer
path + name + "_" + zoom + "/" + tpfx + "_" + tpxy + ".mgm"
For example if: path = "/london/", name = "OpenStreetMap"
"/london/" + "OpenStreetMap" + "_" + "0" + "/" + "0" + "_" + "0" + ".mgm"
Result: /london/OpenStreetMap_0/0_0.mgm
Modifier and Type | Class and Description |
---|---|
class |
StoredMapLayer.ExtFetchTileTask
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
com.nutiteq.components.MapPos |
center
Deprecated.
|
Constructor and Description |
---|
StoredMapLayer(com.nutiteq.projections.Projection projection,
int tileSize,
int minZoom,
int maxZoom,
int id,
String name,
String path)
Deprecated.
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
fetchTile(com.nutiteq.components.MapTile tile)
Deprecated.
|
void |
flush()
Deprecated.
|
void |
readConfig()
Deprecated.
|
executeFetchTask, getDataSource, getFetchPriority, getId, getMaxZoom, getMinZoom, getTileColor, getTileIdOffset, getVisibleTiles, isMemoryCaching, isPersistentCaching, isTileFading, registerDataSourceListener, setComponents, setFetchPriority, setMemoryCaching, setPersistentCaching, setRenderProjection, setTileColor, setTileFading, setVisibleTiles, unregisterDataSourceListener, updateVisibleTiles
public StoredMapLayer(com.nutiteq.projections.Projection projection, int tileSize, int minZoom, int maxZoom, int id, String name, String path)
projection
- the desired projectiontileSize
- the tile size in pixelsminZoom
- the minimum zoommaxZoom
- the maximum zoomid
- unique layer id. Id for the layer must be depend ONLY on the layer source, otherwise tile caching will not work properly.name
- the name of the sub folderspath
- the path to the main map folderpublic void fetchTile(com.nutiteq.components.MapTile tile)
fetchTile
in class com.nutiteq.rasterlayers.RasterLayer
public void flush()
flush
in class com.nutiteq.rasterlayers.RasterLayer
public void readConfig()
Copyright © 2014. All rights reserved.