ol 10.7.1-dev.1766068548052 → 10.7.1-dev.1766142301376
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/dist/ol.js +1 -1
- package/dist/ol.js.map +1 -1
- package/package.json +1 -1
- package/source/GeoTIFF.d.ts +5 -0
- package/source/GeoTIFF.d.ts.map +1 -1
- package/source/GeoTIFF.js +2 -0
- package/util.js +1 -1
package/package.json
CHANGED
package/source/GeoTIFF.d.ts
CHANGED
|
@@ -123,6 +123,10 @@ export type GeoTIFFSourceOptions = {
|
|
|
123
123
|
cacheSize?: number | undefined;
|
|
124
124
|
};
|
|
125
125
|
export type Options = {
|
|
126
|
+
/**
|
|
127
|
+
* Attributions.
|
|
128
|
+
*/
|
|
129
|
+
attributions?: import("./Source.js").AttributionLike | undefined;
|
|
126
130
|
/**
|
|
127
131
|
* List of information about GeoTIFF sources.
|
|
128
132
|
* Multiple sources can be combined when their resolution sets are equal after applying a scale.
|
|
@@ -187,6 +191,7 @@ export type Options = {
|
|
|
187
191
|
*/
|
|
188
192
|
/**
|
|
189
193
|
* @typedef {Object} Options
|
|
194
|
+
* @property {import("./Source.js").AttributionLike} [attributions] Attributions.
|
|
190
195
|
* @property {Array<SourceInfo>} sources List of information about GeoTIFF sources.
|
|
191
196
|
* Multiple sources can be combined when their resolution sets are equal after applying a scale.
|
|
192
197
|
* The list of sources defines a mapping between input bands as they are read from each GeoTIFF and
|
package/source/GeoTIFF.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeoTIFF.d.ts","sourceRoot":"","sources":["GeoTIFF.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBA2Fc,MAAM;;;;wBACN,MAAM;;;;4BACN,MAAM;;;;6BACN,MAAM;;;;6BACN,MAAM;;;;0BACN,MAAM;;;;2BACN,MAAM;;;;2BACN,MAAM;;sBAIP,OAAO,S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,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,QAapC;IAED;;;;;OAKG;IACH,kCAHW,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,QA8BpC;IAED;;;;;;OAMG;IACH,mBAkPC;IAED;;;;;;;OAOG;IACH,kBA8EC;IAED;;;;;OAKG;IACH,qBA4GC;CACF;qBAj+BoB,eAAe"}
|
package/source/GeoTIFF.js
CHANGED
|
@@ -348,6 +348,7 @@ function getMaxForDataType(array) {
|
|
|
348
348
|
|
|
349
349
|
/**
|
|
350
350
|
* @typedef {Object} Options
|
|
351
|
+
* @property {import("./Source.js").AttributionLike} [attributions] Attributions.
|
|
351
352
|
* @property {Array<SourceInfo>} sources List of information about GeoTIFF sources.
|
|
352
353
|
* Multiple sources can be combined when their resolution sets are equal after applying a scale.
|
|
353
354
|
* The list of sources defines a mapping between input bands as they are read from each GeoTIFF and
|
|
@@ -388,6 +389,7 @@ class GeoTIFFSource extends DataTile {
|
|
|
388
389
|
*/
|
|
389
390
|
constructor(options) {
|
|
390
391
|
super({
|
|
392
|
+
attributions: options.attributions,
|
|
391
393
|
state: 'loading',
|
|
392
394
|
tileGrid: null,
|
|
393
395
|
projection: options.projection || null,
|
package/util.js
CHANGED