com.supermap.services.wms
Class WMSConfig
- java.lang.Object
-
- com.supermap.services.wms.WMSConfig
-
- All Implemented Interfaces:
- java.io.Serializable
public class WMSConfig extends java.lang.Object implements java.io.SerializableWMS service configuration information.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description booleancacheEnabledWhether the cache is available.java.lang.String[]crsThe specific coordinate system of the WMS interface, when is 1.3.0 it is valid.java.lang.StringmapNameDeprecated.ServiceDescriptionserviceDescriptionService description info.SLDConfigsldSupported style information configuration.java.lang.String[]srsThe specific coordinate system of the WMS interface, when is 1.1.1 it is valid.booleanuseStandardBGColorWhether to use the wms standard way to process the default value of the bgcolor parameter.java.lang.StringversionThe WMS service version.
-
Constructor Summary
Constructors Constructor and Description WMSConfig()The Constructor.WMSConfig(WMSConfig wmsConfig)The Constructor.
-
-
-
Field Detail
-
mapName
@Deprecated public java.lang.String mapName
Deprecated.Map name.
-
serviceDescription
public ServiceDescription serviceDescription
Service description info.
-
version
public java.lang.String version
The WMS service version. Such as "1.1.1".
-
srs
public java.lang.String[] srs
The specific coordinate system of the WMS interface, when is 1.1.1 it is valid. Optional parameters.
-
crs
public java.lang.String[] crs
The specific coordinate system of the WMS interface, when is 1.3.0 it is valid. Optional parameters.
-
cacheEnabled
public boolean cacheEnabled
Whether the cache is available. True means the response result of the tiles getting operation will be saved to the disk, when there is the same request, it will use the cache images.
-
sld
public SLDConfig sld
Supported style information configuration.
-
useStandardBGColor
public boolean useStandardBGColor
Whether to use the wms standard way to process the default value of the bgcolor parameter.
If useStandardBGColor is true, in the getMap operation, when the bgcolor parameter is null or not set, set bgcolor to "0xffffff"
If useStandardBGColor is false, in the getMap operation, when the bgcolor parameter is null or not set, set the bgcolor to the front color of the background style in the default configuration of the map.
-
-
Constructor Detail
-
WMSConfig
public WMSConfig()
The Constructor.
-
WMSConfig
public WMSConfig(WMSConfig wmsConfig)
The Constructor.
- Parameters:
wmsConfig- WMS service configuration information object.
-
-
Method Detail
-
hashCode
public final int hashCode()
Get the hash value of the instance of the object- Overrides:
hashCodein classjava.lang.Object- Returns:
- the hash code
-
equals
public final boolean equals(java.lang.Object obj)
Compares whether the specified object equals to the current
WMSConfigobject.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the object to compare with the currentWMSConfigobject.- Returns:
- true if the two objects are equal, or false otherwise.
-
-