experimental new ol.source.ImageWMS(opt_options)
| Name | Type | Argument | Description | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
optional
Options.
|
||||||||||||||||||||||||||||||||||||||
Fires:
-
change
Extends
Methods
-
experimental inherited dispatchChangeEvent()
-
Dispatches a
changeevent. Register a listener for this event to get notified of changes.Fires:
-
change
-
-
experimental getGetFeatureInfoUrl(coordinate, resolution, projection, params){string|undefined}
-
Return the GetFeatureInfo URL for the passed coordinate, resolution, and projection. Return
undefinedif the GetFeatureInfo URL cannot be constructed.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.Returns:
URL.
-
experimental getParams(){Object}
-
Get the user-provided params, i.e. those passed to the constructor through the "params" option, and possibly updated using the updateParams method.
-
experimental inherited getState(){ol.source.State}
-
-
experimental getUrl(){string|undefined}
-
Return the URL used for this WMS source.
-
experimental inherited on(type, listener, opt_this){goog.events.Key}
-
Listen for a certain type of event.
Name Type Argument Description typestring | Array.<string> The event type or array of event types.
listenerfunction The listener function.
thisObject <optional>
optional The object to use as
thisinlistener.Returns:
key for the listener.
-
experimental inherited once(type, listener, opt_this){goog.events.Key}
-
Listen once for a certain type of event.
Name Type Argument Description typestring | Array.<string> The event type or array of event types.
listenerfunction The listener function.
thisObject <optional>
optional The object to use as
thisinlistener.Returns:
key for the listener.
-
experimental setUrl(url)
-
Name Type Description urlstring | undefined URL.
-
experimental inherited un(type, listener, opt_this)
-
Unlisten for a certain type of event.
Name Type Argument Description typestring | Array.<string> The event type or array of event types.
listenerfunction The listener function.
thisObject <optional>
optional The object to use as
thisinlistener. -
experimental inherited unByKey(key)
-
Removes an event listener using the key returned by
on()oronce().Name Type Description keygoog.events.Key Key.
-
experimental updateParams(params)
-
Update the user-provided params.
Name Type Description paramsObject Params.
OpenLayers 3