new ImageMapGuide(options)
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
ImageMapGuide options.
|
Fires:
-
imageloadend
- Triggered when an image finishes loading. -
imageloaderror
- Triggered if image loading results in an error. -
imageloadstart
- Triggered when an image starts loading.
Methods
-
Return the image load function of the source.
Returns:
The image load function.
-
getParams(){Object}
source/ImageMapGuide.js, line 132 -
Get the user-provided params, i.e. those passed to the constructor through the "params" option, and possibly updated using the updateParams method.
Returns:
Params.
-
setImageLoadFunction(imageLoadFunction)
source/ImageMapGuide.js, line 230 -
Set the image load function of the MapGuide source.
Name Type Description imageLoadFunction
module:ol/Image~LoadFunction Image load function.
-
updateParams(params)
source/ImageMapGuide.js, line 191 -
Update the user-provided params.
Name Type Description params
Object Params.