public class TLcdSLDNamedLayer extends ALcdSLDLayer
Constructor and Description |
---|
TLcdSLDNamedLayer()
Creates a new
TLcdSLDNamedLayer instance. |
TLcdSLDNamedLayer(String aName,
ALcdSLDLayerStyle[] aSLDLayerStyles,
TLcdSLDLayerFeatureConstraints aLayerFeatureConstraints)
Creates a new
TLcdSLDNamedLayer instance with the given name, layer styles and constraint. |
Modifier and Type | Method and Description |
---|---|
boolean |
isQueryable()
Returns if this layer is in a queryable state.
|
void |
setQueryable(boolean aQueryable)
Sets if this layer should be queryable or not.
|
addLayerStyle, getLayerFeatureConstraint, getLayerStyle, getLayerStyleCount, getName, removeLayerStyle, setLayerFeatureConstraint, setName
public TLcdSLDNamedLayer()
TLcdSLDNamedLayer
instance.public TLcdSLDNamedLayer(String aName, ALcdSLDLayerStyle[] aSLDLayerStyles, TLcdSLDLayerFeatureConstraints aLayerFeatureConstraints)
TLcdSLDNamedLayer
instance with the given name, layer styles and constraint.aName
- The name of the layer.aSLDLayerStyles
- The styles of the layer.aLayerFeatureConstraints
- The layer feature constraint.public boolean isQueryable()
Returns if this layer is in a queryable state.
By default, true
is returned.
setQueryable(boolean)
public void setQueryable(boolean aQueryable)
Sets if this layer should be queryable or not. This flag allows to make WMS layers non-queryable. If this layer is queryable (server-side), but this flag is set to false (client-side), this layer will not be included in the GetFeatureInfo request.
aQueryable
- true
to make the layer queryable, false
otherwise.isQueryable()