public class WmsLayerParam extends AbstractWMXLayerParams
| Modifier and Type | Class and Description |
|---|---|
static class |
WmsLayerParam.ServerType
The WMS server type.
|
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
baseURL
The base URL for the WMS.
|
java.lang.String |
imageFormat
The format of the image.
|
java.lang.String[] |
layers
The wms layer to request in the GetMap request.
|
WmsLayerParam.ServerType |
serverType
The server type ("mapserver", "geoserver" or "qgisserver").
|
java.lang.String[] |
styles
The styles to apply to the layers.
|
boolean |
useNativeAngle
If true transform the map angle to customParams.angle for GeoServer, and customParams.map_angle for
MapServer.
|
java.lang.String |
version
The WMS version to use when making requests.
|
customParams, mergeableParamsrasterStylefailOnError, name, opacity| Constructor and Description |
|---|
WmsLayerParam() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBaseUrl()
Get the base url for all tile requests.
|
void |
postConstruct()
Validate some of the properties of this layer.
|
createCommonUrl, getCustomParams, getMergeableParams, setCustomParam, validateBaseUrlpublic java.lang.String baseURL
public java.lang.String[] layers
public java.lang.String[] styles
layers field.public java.lang.String version
public boolean useNativeAngle
public WmsLayerParam.ServerType serverType
public java.lang.String imageFormat
public final java.lang.String getBaseUrl()
AbstractTiledLayerParamsgetBaseUrl in class AbstractTiledLayerParamspublic void postConstruct()
throws java.net.URISyntaxException
java.net.URISyntaxException