Optional
backgroundA string that represents the required background color (BGCOLOR) when
images are requested from the server (only applicable when transparent
is false). The color format is "0xRRGGBB", where RGB values are
represented as hexadecimal numbers. If a string is passed that
does not adhere to this format an exception will be thrown.
Optional
boundsThe preferred extent of the WMS model. If not defined, the bounds are automatically determined based on the layer bounds information available in the WMS capabilities. If defined, it has two purposes:
bounds
you must not specify reference
.
Optional
credentialsWhether credentials should be included with every HTTP request.
Optional
dataConfigures the model's RasterDataType.
The ELEVATION raster data type will only have an effect in a 3D map, and acts as a way of representing 3D terrain visually. The ELEVATION dataType will not be visualized as a colorized heightmap as it only affects the 3D height values of the surface of the earth.
The default is IMAGE.
Optional
dimensionsDimension parameters to send along with WMS GetMap
and
GetFeatureInfo
requests. Typical dimensions are
TIME
and ELEVATION
. The object literal
can contain simple key/value pairs. Accepted values are strings,
numbers, booleans. Values must not be URL-encoded.
Optional
getRoot URI of the getFeatureInfo
request interface. Use this option to override the
GetFeatureInfo
URI that was returned in the capabilities object.
Optional
getRoot URI of the GetMap
request interface. Use this option to override the GetMap
URI
that was returned in the capabilities object.
Optional
imageThe image format of the images to retrieve from the WMS server.
Optional
infoThe format to retrieve feature information (through
GetFeatureInfo
requests) from the WMS server.
Optional
referenceThe spatial reference in which this model is
defined. If you specify
bounds
, you can omit
this parameter. If this parameter and bounds
are both not defined, WGS 84 is used as default reference.
Optional
requestAn object literal that represents headers (as a key-value map) to send with each HTTP request. If set (and not empty), an XHR with the specified headers will be performed instead of creating an Image.
Optional
requestCustom request parameters to send along with WMS GetMap and GetFeatureInfo request. The object literal can contain simple key/value pairs (strings, numbers, booleans). Values must not be URL-encoded.
Optional
samplingConfigures the model's RasterSamplingMode, corresponding to the setting representation of the underlying raster data.
For elevation, samplingMode POINT is recommended for performance and accuracy.
Optional
sldA URL to a Styled Layer Descriptor (SLD) that must be used to make a request.
This parameter conflicts with sldBody
, only one of these two
parameters can be used at construction time.
Optional
sldA Styled Layer Descriptor (SLD) XML Document that must be used to make a
request. The value must not be URL-encoded. This parameter conflicts with
the sld
parameter. Only one of these two parameters can be
used at construction time.
Optional
swapIndicates whether this model should swap the axis ordering of coordinates for the specified reference identifiers in WMS requests. If undefined, the axis ordering dictated by the model reference is respected. For each specified reference, the order will be reversed. This is needed to get an EPSG:4326 BBOX value that is encoded in longitude-latitude order instead of latitude-longitude, for example.
Optional
transparentIndicates if the images should be generated with transparency or not.
Interface to provide HTTP request options.