ol 8.0.0-dev.1692226655671 → 8.0.0-dev.1692329604255
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Image.d.ts +1 -1
- package/Image.js +1 -1
- package/dist/ol.js +1 -1
- package/dist/ol.js.map +1 -1
- package/interaction/DblClickDragZoom.d.ts +1 -1
- package/interaction/DblClickDragZoom.js +1 -1
- package/package.json +1 -1
- package/util.js +1 -1
package/Image.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export function load(image: HTMLImageElement, src?: string | undefined): Promise
|
|
|
21
21
|
export function decodeFallback(image: HTMLImageElement, src?: string | undefined): Promise<HTMLImageElement>;
|
|
22
22
|
/**
|
|
23
23
|
* Loads an image and decodes it to an `ImageBitmap` if `createImageBitmap()` is supported. Returns
|
|
24
|
-
* the
|
|
24
|
+
* the loaded image otherwise.
|
|
25
25
|
* @param {HTMLImageElement} image Image, not yet loaded.
|
|
26
26
|
* @param {string} [src] `src` attribute of the image. Optional, not required if already present.
|
|
27
27
|
* @return {Promise<ImageBitmap|HTMLImageElement>} Promise resolving to an `ImageBitmap` or an
|
package/Image.js
CHANGED
|
@@ -304,7 +304,7 @@ export function decodeFallback(image, src) {
|
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
306
|
* Loads an image and decodes it to an `ImageBitmap` if `createImageBitmap()` is supported. Returns
|
|
307
|
-
* the
|
|
307
|
+
* the loaded image otherwise.
|
|
308
308
|
* @param {HTMLImageElement} image Image, not yet loaded.
|
|
309
309
|
* @param {string} [src] `src` attribute of the image. Optional, not required if already present.
|
|
310
310
|
* @return {Promise<ImageBitmap|HTMLImageElement>} Promise resolving to an `ImageBitmap` or an
|