new TileWMS
Parameters:
| Name | Type | Argument | Description | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
olx.source.TileWMSOptions |
<optional> |
Tile WMS options. Properties
|
- Source:
- tilewmssource.js, line 29
Extends
Methods
-
dispatchChangeEvent
Stability: experimental -
Dispatches a
changeevent. Register a listener for this event to get notified of changes.- Inherited From:
- Source:
- observable.js, line 39
Fires:
- event:change
-
getGetFeatureInfoUrl
Stability: experimental -
Return the GetFeatureInfo URL for the passed coordinate, resolution, and projection. Return
undefinedif the GetFeatureInfo URL cannot be constructed.Parameters:
Name Type Description coordinateol.Coordinate Coordinate.
resolutionnumber Resolution.
projectionol.proj.Projection Projection.
paramsObject GetFeatureInfo params.
INFO_FORMATat least should be provided. IfQUERY_LAYERSis not provided then the layers specified in theLAYERSparameter will be used.VERSIONshould not be specified here.- Source:
- tilewmssource.js, line 130
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 212
Returns:
Params.
- Type
- Object
-
getState
Stability: experimental -
- Inherited From:
- Source:
- source.js, line 134
Returns:
State.
- Type
- ol.source.State
-
getTileGrid
Stability: experimental -
- Inherited From:
- Source:
- tilesource.js, line 187
Returns:
Tile grid.
- Type
- ol.tilegrid.TileGrid
-
getUrls
Stability: experimental -
Return the URLs used for this WMS source.
- Source:
- tilewmssource.js, line 312
Returns:
URLs.
- Type
- Array.<string> | undefined
-
on
Stability: experimental -
Listen for a certain type of event.
Parameters:
Name Type Argument Description typestring | Array.<string> The event type or array of event types.
listenerfunction The listener function.
thisObject <optional>
The object to use as
thisinlistener.- Inherited From:
- Source:
- observable.js, line 61
Returns:
Unique key for the listener.
- Type
- goog.events.Key
-
once
Stability: experimental -
Listen once for a certain type of event.
Parameters:
Name Type Argument Description typestring | Array.<string> The event type or array of event types.
listenerfunction The listener function.
thisObject <optional>
The object to use as
thisinlistener.- Inherited From:
- Source:
- observable.js, line 74
Returns:
Unique key for the listener.
- Type
- goog.events.Key
-
un
Stability: experimental -
Unlisten for a certain type of event.
Parameters:
Name Type Argument Description typestring | Array.<string> The event type or array of event types.
listenerfunction The listener function.
thisObject <optional>
The object to use as
thisinlistener.- Inherited From:
- Source:
- observable.js, line 86
-
unByKey
Stability: experimental -
Removes an event listener using the key returned by
on()oronce().Parameters:
Name Type Description keygoog.events.Key Key.
- Inherited From:
- Source:
- observable.js, line 96
-
updateParams
Stability: experimental -
Update the user-provided params.
Parameters:
Name Type Description paramsObject Params.
- Source:
- tilewmssource.js, line 396
OpenLayers 3