ol.source. ol.source.TileWMS

new TileWMS

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

Tile WMS options.

Source:
  • tilewmssource.js, line 28

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:
  • tilewmssource.js, line 128
Returns:

GetFeatureInfo URL.

Type
string | undefined

getParams

Stability: experimental

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

Source:
  • tilewmssource.js, line 210
Returns:

Params.

Type
Object

updateParams

Stability: experimental

Update the user-provided params.

Parameters:
Name Type Description
params Object

Params.

Source:
  • tilewmssource.js, line 382