new Source
Stability: experimental
Parameters:
| Name | Type | Description |
|---|---|---|
options |
ol.source.SourceOptions | Source options. |
- Source:
- source.js, line 39
Extends
Methods
-
dispatchChangeEvent
Stability: experimental -
- Inherited From:
- Source:
- observable.js, line 35
-
getExtent
Stability: not documented -
- Source:
- source.js, line 105
Returns:
Extent.
- Type
- ol.Extent
-
getState
Stability: not documented -
- Source:
- source.js, line 135
Returns:
State.
- Type
- ol.source.State
-
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 58
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 71
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 83
-
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 93
OpenLayers 3