public class GdalMapLayer
extends com.nutiteq.rasterlayers.RasterLayer
| Constructor and Description |
|---|
GdalMapLayer(com.nutiteq.projections.Projection projection,
int minZoom,
int maxZoom,
int id,
String gdalSource,
com.nutiteq.MapView mapView,
boolean reproject)
Read raster data source using GDAL library.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
fetchTile(com.nutiteq.components.MapTile tile) |
void |
flush() |
Map<com.nutiteq.components.Envelope,GdalDatasetInfo> |
getDatasets() |
static Vector<String> |
getExtensions() |
void |
setShowAlways(boolean showAlways)
If set, ignore best zoom and have partial tiles
|
executeFetchTask, getDataSource, getFetchPriority, getId, getMaxZoom, getMinZoom, getTileColor, getTileIdOffset, getVisibleTiles, isMemoryCaching, isPersistentCaching, isTileFading, registerDataSourceListener, setComponents, setFetchPriority, setMemoryCaching, setPersistentCaching, setRenderProjection, setTileColor, setTileFading, setVisibleTiles, unregisterDataSourceListener, updateVisibleTilespublic GdalMapLayer(com.nutiteq.projections.Projection projection,
int minZoom,
int maxZoom,
int id,
String gdalSource,
com.nutiteq.MapView mapView,
boolean reproject)
throws IOException
projection - map layer projection. Currently only EPSG3857 is supportedminZoom - minimum ZoommaxZoom - maximum Zoomid - caching ID, make it uniquegdalSource - file to be read, full pathmapView - IOExceptionpublic void fetchTile(com.nutiteq.components.MapTile tile)
fetchTile in class com.nutiteq.rasterlayers.RasterLayerpublic void flush()
flush in class com.nutiteq.rasterlayers.RasterLayerpublic void close()
public Map<com.nutiteq.components.Envelope,GdalDatasetInfo> getDatasets()
public void setShowAlways(boolean showAlways)
showAlways - Copyright © 2014. All rights reserved.