AbstractProtecteddisposedThe object has already been disposed.
This source is currently loading data. Sources that defer loading to the
map's tile queue never set this to a truthy value.
ProtectedprojectionProtectedviewProtectedviewKey name.
Listener.
Type.
Listener.
ProtectedapplyProtected
Apply any properties from another object without triggering events.
The source object.
Dispatches an event and calls all listeners listening for events
of this type. The event parameter can either be a string or an
Object with a type property.
Event object.
false if anyone called preventDefault on the
event object or if any of the listeners returned false.
Clean up.
ProtecteddisposeProtected
Extension point for disposable objects.
Use linear interpolation when resampling.
Get the listeners for a specified event type. Listeners are returned in the order that they will be called in.
Type.
Listeners.
Get an object of all property names and values.
Object.
A promise for view-related properties.
Wrap X.
Optionaltype: string
Type. If not provided,
true will be returned if this event target has any listeners.
Has listeners.
The object has properties.
Key name.
Old value.
ProtectedonceProtectedonProtectedreadyProtected
Resolve once the source is ready to be used (its state is ready), or
reject if it fails to load (its state is error). Sources that configure
asynchronously can use this to expose data (e.g. dimensions) through a
promise instead of the change event.
Resolves when the source is ready.
Key name.
Listener.
Type.
Listener.
Set the state of the source.
State.
ProtectedunProtected
Unlisten for a certain type of event.
Type.
Listener.
Classdesc
Abstract base class; normally only used for creating subclasses and not instantiated in apps. Base class for :ol/layer/Layer~Layer sources.
A generic
changeevent is triggered when the state of the source changes.Api