public class StoredRasterDataSource
extends com.nutiteq.rasterdatasources.AbstractRasterDataSource
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
| Constructor and Description |
|---|
StoredRasterDataSource(com.nutiteq.projections.Projection projection,
int tileSize,
int minZoom,
int maxZoom,
String name,
String path)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.nutiteq.components.MapPos |
getCenter() |
com.nutiteq.components.TileBitmap |
loadTile(com.nutiteq.components.MapTile tile) |
public StoredRasterDataSource(com.nutiteq.projections.Projection projection,
int tileSize,
int minZoom,
int maxZoom,
String name,
String path)
projection - the desired projectiontileSize - the tile size in pixelsminZoom - the minimum zoommaxZoom - the maximum zoomname - the name of the sub folderspath - the path to the main map folderCopyright © 2014. All rights reserved.