Class 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.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 address
        wmsVersion - the WMS protocol version
        layerNames - comma-separated list of WMS layer names
        styleNames - comma-separated list of WMS style names
        coordinateSystem - the coordinate reference system to use when requesting layers
        imageFormat - the image content type to use in Get Map requests
        transparent - indicates whether Get Map requests should include transparency
        timeString - 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 address
        layerNames - comma-separated list of WMS layer names