ol.source. ol.source.ImageWMS

new ImageWMS

Stability: experimental
Parameters:
Name Type Argument Description
options olx.source.ImageWMSOptions <optional>

Options.

Source:
  • imagewmssource.js, line 24

Methods

getGetFeatureInfoUrl

Stability: not documented

Return the GetFeatureInfo URL for the passed coordinate, resolution, and projection. Return undefined if the GetFeatureInfo URL cannot be constructed.

Parameters:
Name Type Description
coordinate ol.Coordinate

Coordinate.

resolution number

Resolution.

projection ol.proj.Projection

Projection.

params Object

GetFeatureInfo params. INFO_FORMAT at least should be provided. If QUERY_LAYERS is not provided then the layers specified in the LAYERS parameter will be used. VERSION should not be specified here.

Source:
  • imagewmssource.js, line 128
Returns:

GetFeatureInfo URL.

Type
string | undefined

getParams

Stability: not documented

Get the user-provided params, i.e. those passed to the constructor through the "params" option, and possibly updated using the updateParams method.

Source:
  • imagewmssource.js, line 177
Returns:

Params.

Type
Object

setUrl

Stability: not documented
Parameters:
Name Type Description
url string | undefined

URL.

Source:
  • imagewmssource.js, line 316

updateParams

Stability: not documented

Update the user-provided params.

Parameters:
Name Type Description
params Object

Params.

Source:
  • imagewmssource.js, line 329