new ImageSource(options)
source/Image.js, line 87
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Single image source 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.
Subclasses
- module:ol/source/ImageArcGISRest~ImageArcGISRest
- module:ol/source/ImageCanvas~ImageCanvasSource
- module:ol/source/ImageMapGuide~ImageMapGuide
- module:ol/source/ImageStatic~Static
- module:ol/source/ImageWMS~ImageWMS
- module:ol/source/Raster~RasterSource
Extends
Methods
-
Get the projection of the source.
Returns:
Projection.
-
Get the state of the source, see
module:ol/source/State~State
for possible states.Returns:
State.
-
Refreshes the source and finally dispatches a 'change' event.
-
Set the attributions of the source.
Name Type Description attributions
module:ol/source/Source~AttributionLike | undefined Attributions. Can be passed as
string
,Array<string>
,
, ormodule:ol/source/Source˜Attribution
undefined
.