public static class TLcdWMSGetFeatureInfoParameters.Builder extends Object
TLcdWMSGetFeatureInfoParameters
objects. Use TLcdWMSGetFeatureInfoParameters.newBuilder()
to create an instance of this builder.Modifier and Type | Method and Description |
---|---|
TLcdWMSGetFeatureInfoParameters.Builder |
all(TLcdWMSGetFeatureInfoParameters aGetFeatureInfoContext)
Sets all parameters on the builder based on the given GetFeatureInfo context.
|
TLcdWMSGetFeatureInfoParameters |
build()
Builds the context with the set parameters.
|
TLcdWMSGetFeatureInfoParameters.Builder |
featureInfoFormat(String aFeatureInfoFormat)
Specifies the feature info format to use.
|
TLcdWMSGetFeatureInfoParameters.Builder |
layersToQuery(Collection<String> aLayersToQuery)
Specifies the layers to query.
|
TLcdWMSGetFeatureInfoParameters.Builder |
maxFeatureCount(int aMaxFeatureCount)
Sets the maximum number of features returned when doing a query.
|
public TLcdWMSGetFeatureInfoParameters.Builder featureInfoFormat(String aFeatureInfoFormat)
ALcdWMSProxy.getFeatureInfoFormat()
.aFeatureInfoFormat
- the feature info format to use.this
public TLcdWMSGetFeatureInfoParameters.Builder layersToQuery(Collection<String> aLayersToQuery)
aLayersToQuery
- the layers to query. These are WMS layer names, see ALcdWMSNamedLayer.getNamedLayerName()
.this
public TLcdWMSGetFeatureInfoParameters.Builder maxFeatureCount(int aMaxFeatureCount)
Sets the maximum number of features returned when doing a query.
The default is 1
.
aMaxFeatureCount
- the maximum number of features returned when doing a querythis
public TLcdWMSGetFeatureInfoParameters.Builder all(TLcdWMSGetFeatureInfoParameters aGetFeatureInfoContext)
Sets all parameters on the builder based on the given GetFeatureInfo context.
This is useful for example to create a new context that has almost all properties equal to another context.
aGetFeatureInfoContext
- a GetFeatureInfo contextthis
public TLcdWMSGetFeatureInfoParameters build()