@Api(allMethods=true) public class VectorLayerInfo extends LayerInfo implements IsInfo
| Constructor and Description |
|---|
VectorLayerInfo() |
| Modifier and Type | Method and Description |
|---|---|
FeatureInfo |
getFeatureInfo()
Get feature info, the configuration of the features for this layer.
|
String |
getFilter()
Get filter which needs to be applied to all queries on this layer.
|
NamedStyleInfo |
getNamedStyleInfo(String name)
Get layer style by name.
|
List<NamedStyleInfo> |
getNamedStyleInfos()
Get possible styles which may be applied for this layer.
|
boolean |
isAllowEmptyGeometries()
Is it allowed to create empty geometries? Default value is false.
|
void |
setAllowEmptyGeometries(boolean allowEmptyGeometries)
Is it allowed to create empty geometries? Default value is false.
|
void |
setFeatureInfo(FeatureInfo featureInfo)
Set feature info, the configuration of the features for this layer.
|
void |
setFilter(String filter)
Set filter which needs to be applied to all queries on this layer.
|
void |
setNamedStyleInfos(List<NamedStyleInfo> namedStyleInfos)
Set possible styles which may be applied for this layer.
|
getCrs, getExtraInfo, getLayerType, getMaxExtent, setCrs, setExtraInfo, setLayerType, setMaxExtentpublic String getFilter()
public void setFilter(String filter)
filter - layer filterpublic FeatureInfo getFeatureInfo()
public void setFeatureInfo(FeatureInfo featureInfo)
featureInfo - feature infopublic List<NamedStyleInfo> getNamedStyleInfos()
public void setNamedStyleInfos(List<NamedStyleInfo> namedStyleInfos)
namedStyleInfos - possible layer stylespublic NamedStyleInfo getNamedStyleInfo(String name)
name - layer style namepublic boolean isAllowEmptyGeometries()
LayerType.POINT layers.
Note: empty geometries are insecure. This disables all security filtering on areas.public void setAllowEmptyGeometries(boolean allowEmptyGeometries)
LayerType.POINT layers.
Note: empty geometries are insecure. This disables all security filtering on areas.allowEmptyGeometries - true when empty geometries are allowedCopyright © 2015 Geosparc. All Rights Reserved.