Package gov.nasa.worldwind.ogc
Class WmsLayerConfig
- java.lang.Object
-
- gov.nasa.worldwind.ogc.WmsLayerConfig
-
public class WmsLayerConfig extends java.lang.Object
Configuration values for a WMS layer.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
coordinateSystem
The coordinate reference system to use when requesting layers.java.lang.String
imageFormat
The image content type to use in Get Map requests.java.lang.String
layerNames
The comma-separated list of WMS layer names.java.lang.String
serviceAddress
The WMS service address used to build Get Map URLs.java.lang.String
styleNames
The comma-separated list of WMS style names.java.lang.String
timeString
The time parameter to include in Get Map requests.boolean
transparent
Indicates whether Get Map requests should include transparency.java.lang.String
wmsVersion
The WMS protocol version.
-
Constructor Summary
Constructors Constructor Description WmsLayerConfig()
Constructs a WMS layer configuration with values all null (or false).WmsLayerConfig(java.lang.String serviceAddress, java.lang.String layerNames)
Constructs a WMS layer configuration with the minimal values.WmsLayerConfig(java.lang.String serviceAddress, java.lang.String wmsVersion, java.lang.String layerNames, java.lang.String styleNames, java.lang.String coordinateSystem, java.lang.String imageFormat, boolean transparent, java.lang.String timeString)
Constructs a WMS layer configuration with specified values.
-
-
-
Field Detail
-
serviceAddress
public java.lang.String serviceAddress
The WMS service address used to build Get Map URLs.
-
wmsVersion
public java.lang.String wmsVersion
The WMS protocol version. Defaults to 1.3.0.
-
layerNames
public java.lang.String layerNames
The comma-separated list of WMS layer names.
-
styleNames
public java.lang.String styleNames
The comma-separated list of WMS style names.
-
coordinateSystem
public java.lang.String coordinateSystem
The coordinate reference system to use when requesting layers. Defaults to EPSG:4326.
-
transparent
public boolean transparent
Indicates whether Get Map requests should include transparency.
-
imageFormat
public java.lang.String imageFormat
The image content type to use in Get Map requests.
-
timeString
public java.lang.String timeString
The time parameter to include in Get Map requests.
-
-
Constructor Detail
-
WmsLayerConfig
public WmsLayerConfig()
Constructs a WMS layer configuration with values all null (or false).
-
WmsLayerConfig
public WmsLayerConfig(java.lang.String serviceAddress, java.lang.String wmsVersion, java.lang.String layerNames, java.lang.String styleNames, java.lang.String coordinateSystem, java.lang.String imageFormat, boolean transparent, java.lang.String timeString)
Constructs a WMS layer configuration with specified values.- Parameters:
serviceAddress
- the WMS service addresswmsVersion
- the WMS protocol versionlayerNames
- comma-separated list of WMS layer namesstyleNames
- comma-separated list of WMS style namescoordinateSystem
- the coordinate reference system to use when requesting layersimageFormat
- the image content type to use in Get Map requeststransparent
- indicates whether Get Map requests should include transparencytimeString
- the time parameter to include in Get Map requests
-
WmsLayerConfig
public WmsLayerConfig(java.lang.String serviceAddress, java.lang.String layerNames)
Constructs a WMS layer configuration with the minimal values.- Parameters:
serviceAddress
- the WMS service addresslayerNames
- comma-separated list of WMS layer names
-
-