Class WMSMapParameter
- java.lang.Object
-
- com.supermap.services.components.spi.ogc.WMSMapParameter
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- WMSQueryParameter
public class WMSMapParameter extends java.lang.Object implements java.io.Serializable${services_components_spi_ogc_WMSMapParameter_Title}
${services_components_spi_ogc_WMSMapParameter_Description}
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description java.lang.Stringbgcolor${services_components_spi_ogc_WMSMapParameter_attribute_bgcolor_Title}Rectangle2Dbounds${services_components_spi_ogc_WMSMapParameter_attribute_bounds_Title}Point2Dcenter${services_components_spi_ogc_WMSMapParameter_attribute_center_Title}java.lang.StringcrsCoordinate reference system</>Rectangle2DentireBounds${services_components_spi_ogc_WMSMapParameter_attribute_entireBounds_Title}java.lang.Stringexceptions${services_components_spi_ogc_WMSMapParameter_attribute_exceptions_Title}java.lang.Stringformat${services_components_spi_ogc_WMSMapParameter_attribute_format_Title}intheight${services_components_spi_ogc_WMSMapParameter_attribute_height_Title}java.lang.String[]layersMap layer name list.java.lang.StringmapName${services_components_spi_ogc_WMSMapParameter_attribute_mapName_Title}java.lang.StringsldBodySLD_BODYjava.lang.Stringsrs${services_components_spi_ogc_WMSMapParameter_attribute_srs_Title}java.lang.String[]stylesRequest a list of style names for the layer.booleantransparent${services_components_spi_ogc_WMSMapParameter_attribute_transparent_Title}intwidth${services_components_spi_ogc_WMSMapParameter_attribute_width_Title}
-
Constructor Summary
Constructors Constructor and Description WMSMapParameter()${services_components_spi_ogc_WMSMapParameter_contructor_WMSMapParameter_Title}WMSMapParameter(java.util.Map<java.lang.String,java.lang.String> paramMap)Constructs a WMSQueryParameter from a Map mapping.WMSMapParameter(WMSMapParameter wmsmapParameter)Constructor
-
Method Summary
Methods Modifier and Type Method and Description booleanequals(java.lang.Object obj)inthashCode()protected java.lang.String[]splitString(java.lang.String strToSplit, java.lang.String splitReg)Divide the string into an array of strings.
-
-
-
Field Detail
-
mapName
public java.lang.String mapName
${services_components_spi_ogc_WMSMapParameter_attribute_mapName_Title}
${services_components_spi_ogc_WMSMapParameter_attribute_mapName_Description}
-
width
public int width
${services_components_spi_ogc_WMSMapParameter_attribute_width_Title}
${services_components_spi_ogc_WMSMapParameter_attribute_width_Description}
-
height
public int height
${services_components_spi_ogc_WMSMapParameter_attribute_height_Title}
${services_components_spi_ogc_WMSMapParameter_attribute_height_Description}
-
layers
public java.lang.String[] layers
Map layer name list.
-
center
public Point2D center
${services_components_spi_ogc_WMSMapParameter_attribute_center_Title}
${services_components_spi_ogc_WMSMapParameter_attribute_center_Description}
-
entireBounds
public Rectangle2D entireBounds
${services_components_spi_ogc_WMSMapParameter_attribute_entireBounds_Title}
${services_components_spi_ogc_WMSMapParameter_attribute_entireBounds_Description}
-
bounds
public Rectangle2D bounds
${services_components_spi_ogc_WMSMapParameter_attribute_bounds_Title}
${services_components_spi_ogc_WMSMapParameter_attribute_bounds_Description}
-
styles
public java.lang.String[] styles
Request a list of style names for the layer.
The value of the element in the list corresponds to the value of the & lt; Style & gt; element of the & lt; Layer & gt; element in the service metadata acquired by the GetCapabilities operation of the WMS.
# stylesattribute array is one-to-one with the# layersattribute array, which identifies the display style for each layer.If the style that requested does not exist, the server will return a service exception (code = StyleNotDefined).
-
srs
public java.lang.String srs
${services_components_spi_ogc_WMSMapParameter_attribute_srs_Title}
${services_components_spi_ogc_WMSMapParameter_attribute_srs_Description}
-
transparent
public boolean transparent
${services_components_spi_ogc_WMSMapParameter_attribute_transparent_Title}
${services_components_spi_ogc_WMSMapParameter_attribute_transparent_Description}
-
bgcolor
public java.lang.String bgcolor
${services_components_spi_ogc_WMSMapParameter_attribute_bgcolor_Title}
${services_components_spi_ogc_WMSMapParameter_attribute_bgcolor_Description}
-
sldBody
public java.lang.String sldBody
SLD_BODY
-
exceptions
public java.lang.String exceptions
${services_components_spi_ogc_WMSMapParameter_attribute_exceptions_Title}
${services_components_spi_ogc_WMSMapParameter_attribute_exceptions_Description}
-
format
public java.lang.String format
${services_components_spi_ogc_WMSMapParameter_attribute_format_Title}
${services_components_spi_ogc_WMSMapParameter_attribute_format_Description}
-
crs
public java.lang.String crs
Coordinate reference system</>
Used in WMS1.3.0
-
-
Constructor Detail
-
WMSMapParameter
public WMSMapParameter()
${services_components_spi_ogc_WMSMapParameter_contructor_WMSMapParameter_Title}
${services_components_spi_ogc_WMSMapParameter_contructor_WMSMapParameter_Description}
-
WMSMapParameter
public WMSMapParameter(java.util.Map<java.lang.String,java.lang.String> paramMap)
Constructs a WMSQueryParameter from a Map mapping. The Map mapping stores WMS service constant information.- Parameters:
paramMap- Map mapping, storing WMS service constant information.- See Also:
Constants
-
WMSMapParameter
public WMSMapParameter(WMSMapParameter wmsmapParameter)
Constructor- Parameters:
mapParameter-
-
-
Method Detail
-
splitString
protected final java.lang.String[] splitString(java.lang.String strToSplit, java.lang.String splitReg)Divide the string into an array of strings.- Parameters:
strToSplit- The original string will be split with splitReg.splitReg- The string used to separate strToSplit.- Returns:
- The array of strings have been split.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-