@Api(allMethods=true) public class LayerInfo extends Object implements IsInfo
| Constructor and Description |
|---|
LayerInfo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCrs()
Get the CRS code which is used for expressing the coordinated in this layer.
|
Map<String,LayerExtraInfo> |
getExtraInfo()
Get extra configuration for the plug-ins.
|
LayerType |
getLayerType()
Get layer type, indicating whether it is a raster layer or which type of geometries which are contained in the
layer if it is a vector layer.
|
org.geomajas.geometry.Bbox |
getMaxExtent()
Get the maximum extent for the layer, the bounding box for the visible/usable area for this layer.
|
void |
setCrs(String crs)
Set the CRS code which is used for expressing the coordinated in this layer.
|
void |
setExtraInfo(Map<String,LayerExtraInfo> extraInfo)
Set the extra configuration for the plug-ins.
|
void |
setLayerType(LayerType layerType)
Set layer type.
|
void |
setMaxExtent(org.geomajas.geometry.Bbox maxExtent)
Set the maximum extent for the layer, the bounding box for the visible/usable area for this layer.
|
public LayerType getLayerType()
public void setLayerType(LayerType layerType)
layerType - layer typepublic String getCrs()
public void setCrs(String crs)
crs - CRS code for this layerpublic org.geomajas.geometry.Bbox getMaxExtent()
public void setMaxExtent(org.geomajas.geometry.Bbox maxExtent)
maxExtent - maximum extent for layerpublic Map<String,LayerExtraInfo> getExtraInfo()
public void setExtraInfo(Map<String,LayerExtraInfo> extraInfo)
extraInfo - extra configurationCopyright © 2015 Geosparc. All Rights Reserved.