@Api(allMethods=true) public class RasterLayerInfo extends LayerInfo implements IsInfo
| Constructor and Description |
|---|
RasterLayerInfo()
Create raster layer.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDataSourceName()
Get the data source name.
|
List<Double> |
getResolutions()
Deprecated.
use
getZoomLevels() |
int |
getTileHeight()
Get tile height in pixels.
|
int |
getTileWidth()
Get tile width in pixels.
|
List<ScaleInfo> |
getZoomLevels()
Returns the list of zoom levels for the layer.
|
void |
setDataSourceName(String dataSourceName)
Set the data source name.
|
void |
setResolutions(List<Double> resolutions)
Deprecated.
use
#setZoomLevels() |
void |
setTileHeight(int tileHeight)
Set tile height in pixels.
|
void |
setTileWidth(int tileWidth)
Set tile width in pixels.
|
void |
setZoomLevels(List<ScaleInfo> zoomLevels)
Sets the list of zoom levels for this layer.
|
getCrs, getExtraInfo, getLayerType, getMaxExtent, setCrs, setExtraInfo, setLayerType, setMaxExtentpublic String getDataSourceName()
public void setDataSourceName(String dataSourceName)
dataSourceName - data source namepublic int getTileWidth()
public void setTileWidth(int tileWidth)
tileWidth - tile widthpublic int getTileHeight()
public void setTileHeight(int tileHeight)
tileHeight - tile height@Deprecated public List<Double> getResolutions()
getZoomLevels()@Deprecated public void setResolutions(List<Double> resolutions)
#setZoomLevels()resolutions - resolutionspublic List<ScaleInfo> getZoomLevels()
Copyright © 2015 Geosparc. All Rights Reserved.