new Static(options)
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ImageStatic options.
|
|||||||||||||||||||||||||
Fires:
-
change(module:ol/events/Event~Event) - Generic change event. Triggered when the revision counter is increased. -
propertychange(module:ol/Object.ObjectEvent) - Triggered when a property is changed.
Extends
Methods
-
Returns the image extent
Returns:
image extent.
-
Get the projection of the source.
Returns:
Projection.
-
Get the state of the source, see
module:ol/source/State~Statefor possible states.Returns:
State.
-
getUrl(){string}
source/ImageStatic.js, line 106 -
Return the URL used for this image source.
Returns:
URL.
-
Refreshes the source and finally dispatches a 'change' event.
-
Set the attributions of the source.
Name Type Description attributionsmodule:ol/source/Source~AttributionLike | undefined Attributions. Can be passed as
string,Array<string>,, ormodule:ol/source/Source˜Attributionundefined.
OpenLayers