ol 8.0.0-dev.1693425553457 → 8.0.0-dev.1693466457745

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 CHANGED
@@ -66,7 +66,8 @@ export type ImageObject = {
66
66
  };
67
67
  /**
68
68
  * Loader function used for image sources. Receives extent, resolution and pixel ratio as arguments.
69
- * The function returns an {@link import ("./DataTile.js").ImageLike image}, an
69
+ * For images that cover any extent and resolution (static images), the loader function should not accept
70
+ * any arguments. The function returns an {@link import ("./DataTile.js").ImageLike image}, an
70
71
  * {@link import ("./Image.js").ImageObject image object}, or a promise for the same.
71
72
  * For loaders that generate images, the promise should not resolve until the image is loaded.
72
73
  * If the returned image does not match the extent, resolution or pixel ratio passed to the loader,
@@ -106,7 +107,8 @@ export type ImageObjectPromiseLoader = (arg0: import("./extent.js").Extent, arg1
106
107
  */
107
108
  /**
108
109
  * Loader function used for image sources. Receives extent, resolution and pixel ratio as arguments.
109
- * The function returns an {@link import("./DataTile.js").ImageLike image}, an
110
+ * For images that cover any extent and resolution (static images), the loader function should not accept
111
+ * any arguments. The function returns an {@link import("./DataTile.js").ImageLike image}, an
110
112
  * {@link import("./Image.js").ImageObject image object}, or a promise for the same.
111
113
  * For loaders that generate images, the promise should not resolve until the image is loaded.
112
114
  * If the returned image does not match the extent, resolution or pixel ratio passed to the loader,
package/Image.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["Image.js"],"names":[],"mappings":"AAkNA;;;;;GAKG;AACH,mCALW,OAAO,eAAe,EAAE,SAAS,qBACtB,GAAG,sBACH,GAAG,SACF,IAAI,CA2C1B;AAED;;;;;;GAMG;AACH,4BALW,gBAAgB,6BAEf,QAAQ,gBAAgB,CAAC,CAuBpC;AAED;;;;GAIG;AACH,sCAJW,gBAAgB,6BAEf,QAAQ,gBAAgB,CAAC,CAWpC;AAED;;;;;;;;GAQG;AACH,8BANW,gBAAg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AAQ,OAAO,eAAe,EAAE,SAAS,GAAC,WAAW,CAAC;AA7CtN;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;GAOG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;;;GAKG;AAEH;IACE;;;;;;OAMG;IACH,oBANW,OAAO,aAAa,EAAE,MAAM,cAC5B,MAAM,GAAC,MAAM,MAAM,CAAC,GAAC,SAAS,cAE9B,MAAM,iBACN,MAAkC,OAAO,YAAY,EAAE,MAAM,EAyCvE;IApCC;;;OAGG;IACH,kBAFU,OAAO,aAAa,EAAE,MAAM,CAElB;IAEpB;;;OAGG;IACH,oBAA6B;IAE7B;;;OAGG;IACH,sBAFU,MAAM,GAAC,MAAM,MAAM,CAAC,GAAC,SAAS,CAEZ;IAE5B;;;OAGG;IACH,qBACuE;IAEvE;;;OAGG;IACH,eAAkB;IAElB;;;OAGG;IACH,kBAFU,OAAO,YAAY,EAAE,MAAM,CAEmC;IAG1E;;OAEG;IACH,0BAEC;IAED;;OAEG;IACH,aAFY,OAAO,aAAa,EAAE,MAAM,CAIvC;IAED;;OAEG;IACH,YAFY,OAAO,eAAe,EAAE,SAAS,CAI5C;IAED;;OAEG;IACH,iBAFY,MAAM,CAIjB;IAED;;OAEG;IACH,iBAFY,MAAM,GAAC,MAAM,MAAM,CAAC,CAI/B;IAED;;OAEG;IACH,gBAEC;IAED;;OAEG;IACH,aA0CC;IAED;;OAEG;IACH,gBAFW,OAAO,eAAe,EAAE,SAAS,QAI3C;IAED;;OAEG;IACH,0BAFW,MAAM,GAAC,MAAM,MAAM,CAAC,QAI9B;CACF;wBA9MuB,oBAAoB"}
package/Image.js CHANGED
@@ -37,7 +37,8 @@ import {toPromise} from './functions.js';
37
37
 
38
38
  /**
39
39
  * Loader function used for image sources. Receives extent, resolution and pixel ratio as arguments.
40
- * The function returns an {@link import("./DataTile.js").ImageLike image}, an
40
+ * For images that cover any extent and resolution (static images), the loader function should not accept
41
+ * any arguments. The function returns an {@link import("./DataTile.js").ImageLike image}, an
41
42
  * {@link import("./Image.js").ImageObject image object}, or a promise for the same.
42
43
  * For loaders that generate images, the promise should not resolve until the image is loaded.
43
44
  * If the returned image does not match the extent, resolution or pixel ratio passed to the loader,