ol-stac 0.0.1 → 1.0.0-beta.10
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/README.md +15 -12
- package/events/ErrorEvent.d.ts +3 -0
- package/events/ErrorEvent.d.ts.map +1 -1
- package/events/ErrorEvent.js +3 -0
- package/events/ErrorEvent.js.map +1 -1
- package/layer/STAC.d.ts +61 -62
- package/layer/STAC.d.ts.map +1 -1
- package/layer/STAC.js +158 -78
- package/layer/STAC.js.map +1 -1
- package/package.json +13 -6
- package/source/type.d.ts +110 -0
- package/source/type.d.ts.map +1 -0
- package/source/type.js +104 -0
- package/source/type.js.map +1 -0
- package/{layer/stacUtil.d.ts → util.d.ts} +16 -4
- package/util.d.ts.map +1 -0
- package/{layer/stacUtil.js → util.js} +18 -6
- package/util.js.map +1 -0
- package/layer/stacUtil.d.ts.map +0 -1
- package/layer/stacUtil.js.map +0 -1
- package/source/GeoTIFF2.d.ts +0 -35
- package/source/GeoTIFF2.d.ts.map +0 -1
- package/source/GeoTIFF2.js +0 -40
- package/source/GeoTIFF2.js.map +0 -1
package/README.md
CHANGED
|
@@ -2,31 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
An "automagical" STAC LayerGroup for OpenLayers released under the [Apache 2.0 license](LICENSE.md).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+

|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Getting Started
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
```
|
|
9
|
+
Please read the Quick Start first:
|
|
10
|
+
<https://m-mohr.github.io/ol-stac/doc/quickstart.html>
|
|
12
11
|
|
|
13
|
-
Explore the examples to get started with some code:
|
|
12
|
+
Explore the examples to get started with some more code:
|
|
14
13
|
<https://m-mohr.github.io/ol-stac/en/latest/examples/>
|
|
15
14
|
|
|
15
|
+
Dig into the API documentation for all details:
|
|
16
|
+
<https://m-mohr.github.io/ol-stac/en/latest/apidoc/>
|
|
16
17
|
|
|
17
18
|
## Sponsors
|
|
18
19
|
|
|
19
20
|
ol-stac appreciates contributions of all kinds.
|
|
20
21
|
|
|
21
22
|
The development of this package was financially supported by:
|
|
22
|
-
- Planet Labs PBC
|
|
23
|
-
- EOX IT Services GmbH
|
|
23
|
+
- [Planet Labs PBC](https://planet.com)
|
|
24
|
+
- [EOX IT Services GmbH](https://eox.at)
|
|
24
25
|
|
|
25
26
|
Many thanks also to OpenLayers and its contributors.
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
[stac-layer](https://github.com/stac-utils/stac-layer).
|
|
29
|
-
It has a very similar interface and functionality.
|
|
28
|
+
[If you need any help, please contact me.](https://mohr.ws)
|
|
30
29
|
|
|
31
30
|
## TypeScript support
|
|
32
31
|
|
|
@@ -40,4 +39,8 @@ Check out the [hosted examples](https://m-mohr.github.io/ol-stac/en/latest/examp
|
|
|
40
39
|
|
|
41
40
|
Please use the [GitHub issue tracker](https://github.com/m-mohr/ol-stac/issues) for all bugs and feature requests. Before creating a new issue, do a quick search to see if the problem has been reported already.
|
|
42
41
|
|
|
43
|
-
|
|
42
|
+
## Related work
|
|
43
|
+
|
|
44
|
+
A similar package for Leaflet and authored by Daniel Dufour and Matthias Mohr is
|
|
45
|
+
[stac-layer](https://github.com/stac-utils/stac-layer).
|
|
46
|
+
It has a very similar interface and functionality.
|
package/events/ErrorEvent.d.ts
CHANGED
|
@@ -2,14 +2,17 @@ export default ErrorEvent;
|
|
|
2
2
|
/**
|
|
3
3
|
* @classdesc
|
|
4
4
|
* Event emitted on configuration or loading error.
|
|
5
|
+
* @api
|
|
5
6
|
*/
|
|
6
7
|
declare class ErrorEvent extends BaseEvent {
|
|
7
8
|
/**
|
|
8
9
|
* @param {Error} error error object.
|
|
10
|
+
* @api
|
|
9
11
|
*/
|
|
10
12
|
constructor(error: Error);
|
|
11
13
|
/**
|
|
12
14
|
* @type {Error}
|
|
15
|
+
* @api
|
|
13
16
|
*/
|
|
14
17
|
error: Error;
|
|
15
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorEvent.d.ts","sourceRoot":"","sources":["../../../src/ol/events/ErrorEvent.js"],"names":[],"mappings":";AAMA
|
|
1
|
+
{"version":3,"file":"ErrorEvent.d.ts","sourceRoot":"","sources":["../../../src/ol/events/ErrorEvent.js"],"names":[],"mappings":";AAMA;;;;GAIG;AACH;IACE;;;OAGG;IACH,mBAHW,KAAK,EAWf;IALC;;;OAGG;IACH,OAHU,KAAK,CAGG;CAErB;sBAtBqB,oBAAoB"}
|
package/events/ErrorEvent.js
CHANGED
|
@@ -6,15 +6,18 @@ import EventType from 'ol/events/EventType.js';
|
|
|
6
6
|
/**
|
|
7
7
|
* @classdesc
|
|
8
8
|
* Event emitted on configuration or loading error.
|
|
9
|
+
* @api
|
|
9
10
|
*/
|
|
10
11
|
class ErrorEvent extends BaseEvent {
|
|
11
12
|
/**
|
|
12
13
|
* @param {Error} error error object.
|
|
14
|
+
* @api
|
|
13
15
|
*/
|
|
14
16
|
constructor(error) {
|
|
15
17
|
super(EventType.ERROR);
|
|
16
18
|
/**
|
|
17
19
|
* @type {Error}
|
|
20
|
+
* @api
|
|
18
21
|
*/
|
|
19
22
|
this.error = error;
|
|
20
23
|
}
|
package/events/ErrorEvent.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorEvent.js","sourceRoot":"","sources":["../../../src/ol/events/ErrorEvent.js"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAC3C,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAE/C
|
|
1
|
+
{"version":3,"file":"ErrorEvent.js","sourceRoot":"","sources":["../../../src/ol/events/ErrorEvent.js"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAC3C,OAAO,SAAS,MAAM,wBAAwB,CAAC;AAE/C;;;;GAIG;AACH,MAAM,UAAW,SAAQ,SAAS;IAChC;;;OAGG;IACH,YAAY,KAAK;QACf,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QAEvB;;;WAGG;QACH,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF;AAED,eAAe,UAAU,CAAC"}
|
package/layer/STAC.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
export default STACLayer;
|
|
2
2
|
export type Extent = import("ol/extent.js").Extent;
|
|
3
|
-
export type
|
|
4
|
-
export type ImageStaticSourceOptions = import("ol/source/ImageStatic.js").Options;
|
|
3
|
+
export type Layer = import("ol/layer.js").Layer;
|
|
5
4
|
export type Link = any;
|
|
6
|
-
export type STACObject = any;
|
|
7
5
|
export type Style = import('ol/style.js').Style;
|
|
8
|
-
export type
|
|
6
|
+
export type SourceOptions = import('../source/type.js').SourceOptions;
|
|
9
7
|
export type Options = {
|
|
10
8
|
/**
|
|
11
9
|
* The STAC URL. Any of `url` and `data` must be provided.
|
|
@@ -29,23 +27,18 @@ export type Options = {
|
|
|
29
27
|
*/
|
|
30
28
|
bands?: number[] | undefined;
|
|
31
29
|
/**
|
|
32
|
-
* Optional function that can be used to configure the underlying
|
|
33
|
-
* and return the completed options or a promise for the same. The function will be called with the current source options
|
|
34
|
-
* and the STAC Asset.
|
|
35
|
-
*/
|
|
36
|
-
getGeoTIFFSourceOptions?: ((arg0: GeoTIFFSourceOptions, arg1: Asset) => (GeoTIFFSourceOptions | Promise<GeoTIFFSourceOptions>)) | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* Optional function that can be used to configure the underlying ImageStatic sources. The function can do any additional work
|
|
30
|
+
* Optional function that can be used to configure the underlying sources. The function can do any additional work
|
|
39
31
|
* and return the completed options or a promise for the same. The function will be called with the current source options
|
|
40
32
|
* and the STAC Asset or Link.
|
|
33
|
+
* This can be useful for adding auth information such as an API token, either via query parameter or HTTP headers.
|
|
34
|
+
* Please be aware that sending HTTP headers may not be supported by all sources.
|
|
41
35
|
*/
|
|
42
|
-
|
|
36
|
+
getSourceOptions?: ((arg0: SourceType, arg1: SourceOptions, arg2: (Asset | Link)) => (SourceOptions | Promise<SourceOptions>)) | undefined;
|
|
43
37
|
/**
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* source options and the STAC Asset or Link.
|
|
38
|
+
* Allows to hide the footprints (bounding box/geometry) of the STAC object
|
|
39
|
+
* by default.
|
|
47
40
|
*/
|
|
48
|
-
|
|
41
|
+
displayFootprint?: boolean | undefined;
|
|
49
42
|
/**
|
|
50
43
|
* Allow to choose non-cloud-optimized GeoTiffs as default image to show,
|
|
51
44
|
* which might not work well for larger files or larger amounts of files.
|
|
@@ -64,11 +57,14 @@ export type Options = {
|
|
|
64
57
|
*/
|
|
65
58
|
displayOverview?: boolean | undefined;
|
|
66
59
|
/**
|
|
67
|
-
* Allow to display a layer
|
|
68
|
-
*
|
|
69
|
-
*
|
|
60
|
+
* Allow to display a layer
|
|
61
|
+
* based on the information provided through the web map links extension.
|
|
62
|
+
* If an array of links or link ids (property `id` in a Link Object) is provided, all corresponding layers will be shown.
|
|
63
|
+
* If set to true or to a specific type of web map link (`pmtiles`, `tilejson`, `wms`, `wmts`, `xyz`),
|
|
64
|
+
* it lets this library choose a web map link to show, but only if no other data is shown.
|
|
65
|
+
* To disable the functionality set this to `false`.
|
|
70
66
|
*/
|
|
71
|
-
displayWebMapLink?: string | boolean | undefined;
|
|
67
|
+
displayWebMapLink?: string | boolean | any[] | undefined;
|
|
72
68
|
/**
|
|
73
69
|
* The style for the overall bounds / footprint.
|
|
74
70
|
*/
|
|
@@ -131,27 +127,27 @@ export type Options = {
|
|
|
131
127
|
* be visible.
|
|
132
128
|
*/
|
|
133
129
|
maxZoom?: number | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* Arbitrary observable properties. Can be accessed with `#get()` and `#set()`. `stac` and `bounds` are reserved and may be overridden.
|
|
132
|
+
*/
|
|
133
|
+
properties?: {
|
|
134
|
+
[x: string]: any;
|
|
135
|
+
} | undefined;
|
|
134
136
|
};
|
|
135
137
|
/**
|
|
136
138
|
* @typedef {import("ol/extent.js").Extent} Extent
|
|
137
139
|
*/
|
|
138
140
|
/**
|
|
139
|
-
* @typedef {import("
|
|
140
|
-
*/
|
|
141
|
-
/**
|
|
142
|
-
* @typedef {import("ol/source/ImageStatic.js").Options} ImageStaticSourceOptions
|
|
141
|
+
* @typedef {import("ol/layer.js").Layer} Layer
|
|
143
142
|
*/
|
|
144
143
|
/**
|
|
145
144
|
* @typedef {import("stac-js").Link} Link
|
|
146
145
|
*/
|
|
147
|
-
/**
|
|
148
|
-
* @typedef {import("stac-js").STACObject} STACObject
|
|
149
|
-
*/
|
|
150
146
|
/**
|
|
151
147
|
* @typedef {import('ol/style.js').Style} Style
|
|
152
148
|
*/
|
|
153
149
|
/**
|
|
154
|
-
* @typedef {import(
|
|
150
|
+
* @typedef {import('../source/type.js').SourceOptions} SourceOptions
|
|
155
151
|
*/
|
|
156
152
|
/**
|
|
157
153
|
* @typedef {Object} Options
|
|
@@ -164,18 +160,14 @@ export type Options = {
|
|
|
164
160
|
* This can be an array of strings corresponding to asset keys or Asset objects.
|
|
165
161
|
* null shows the default asset, an empty array shows no asset.
|
|
166
162
|
* @property {Array<number>} [bands] The (one-based) bands to show.
|
|
167
|
-
* @property {function(
|
|
168
|
-
* Optional function that can be used to configure the underlying
|
|
169
|
-
* and return the completed options or a promise for the same. The function will be called with the current source options
|
|
170
|
-
* and the STAC Asset.
|
|
171
|
-
* @property {function(ImageStaticSourceOptions, (Asset|Link)):(ImageStaticSourceOptions|Promise<ImageStaticSourceOptions>)} [getImageStaticSourceOptions]
|
|
172
|
-
* Optional function that can be used to configure the underlying ImageStatic sources. The function can do any additional work
|
|
163
|
+
* @property {function(SourceType, SourceOptions, (Asset|Link)):(SourceOptions|Promise<SourceOptions>)} [getSourceOptions]
|
|
164
|
+
* Optional function that can be used to configure the underlying sources. The function can do any additional work
|
|
173
165
|
* and return the completed options or a promise for the same. The function will be called with the current source options
|
|
174
166
|
* and the STAC Asset or Link.
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
167
|
+
* This can be useful for adding auth information such as an API token, either via query parameter or HTTP headers.
|
|
168
|
+
* Please be aware that sending HTTP headers may not be supported by all sources.
|
|
169
|
+
* @property {boolean} [displayFootprint=true] Allows to hide the footprints (bounding box/geometry) of the STAC object
|
|
170
|
+
* by default.
|
|
179
171
|
* @property {boolean} [displayGeoTiffByDefault=false] Allow to choose non-cloud-optimized GeoTiffs as default image to show,
|
|
180
172
|
* which might not work well for larger files or larger amounts of files.
|
|
181
173
|
* @property {boolean} [displayPreview=false] Allow to display images that a browser can display (e.g. PNG, JPEG),
|
|
@@ -184,9 +176,12 @@ export type Options = {
|
|
|
184
176
|
* For performance reasons, it is recommended to enable this option if you pass in STAC API Items.
|
|
185
177
|
* @property {boolean} [displayOverview=true] Allow to display COGs and, if `displayGeoTiffByDefault` is enabled, GeoTiffs,
|
|
186
178
|
* usually the assets with role `overview` or `visual`.
|
|
187
|
-
* @property {string|boolean} [displayWebMapLink=false] Allow to display a layer
|
|
188
|
-
*
|
|
189
|
-
*
|
|
179
|
+
* @property {string|boolean|Array<Link|string>} [displayWebMapLink=false] Allow to display a layer
|
|
180
|
+
* based on the information provided through the web map links extension.
|
|
181
|
+
* If an array of links or link ids (property `id` in a Link Object) is provided, all corresponding layers will be shown.
|
|
182
|
+
* If set to true or to a specific type of web map link (`pmtiles`, `tilejson`, `wms`, `wmts`, `xyz`),
|
|
183
|
+
* it lets this library choose a web map link to show, but only if no other data is shown.
|
|
184
|
+
* To disable the functionality set this to `false`.
|
|
190
185
|
* @property {Style} [boundsStyle] The style for the overall bounds / footprint.
|
|
191
186
|
* @property {Style} [collectionStyle] The style for individual items in a list of STAC Items or Collections.
|
|
192
187
|
* @property {null|string} [crossOrigin] For thumbnails: The `crossOrigin` attribute for loaded images / tiles.
|
|
@@ -210,6 +205,7 @@ export type Options = {
|
|
|
210
205
|
* visible.
|
|
211
206
|
* @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will
|
|
212
207
|
* be visible.
|
|
208
|
+
* @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`. `stac` and `bounds` are reserved and may be overridden.
|
|
213
209
|
*/
|
|
214
210
|
/**
|
|
215
211
|
* @classdesc
|
|
@@ -225,23 +221,14 @@ export type Options = {
|
|
|
225
221
|
declare class STACLayer extends LayerGroup {
|
|
226
222
|
/**
|
|
227
223
|
* @param {Options} options Layer options.
|
|
224
|
+
* @api
|
|
228
225
|
*/
|
|
229
226
|
constructor(options: Options);
|
|
230
227
|
/**
|
|
231
|
-
* @type {function(
|
|
228
|
+
* @type {function(SourceType, SourceOptions, (Asset|Link)):(SourceOptions|Promise<SourceOptions>)}
|
|
232
229
|
* @private
|
|
233
230
|
*/
|
|
234
|
-
private
|
|
235
|
-
/**
|
|
236
|
-
* @type {function(ImageStaticSourceOptions, (Asset|Link)):(ImageStaticSourceOptions|Promise<ImageStaticSourceOptions>)}
|
|
237
|
-
* @private
|
|
238
|
-
*/
|
|
239
|
-
private getImageStaticSourceOptions_;
|
|
240
|
-
/**
|
|
241
|
-
* @type {function(XYZSourceOptions, (Asset|Link)):(XYZSourceOptions|Promise<XYZSourceOptions>)}
|
|
242
|
-
* @private
|
|
243
|
-
*/
|
|
244
|
-
private getXYZSourceOptions_;
|
|
231
|
+
private getSourceOptions_;
|
|
245
232
|
/**
|
|
246
233
|
* @type {STAC|Asset}
|
|
247
234
|
* @private
|
|
@@ -262,6 +249,11 @@ declare class STACLayer extends LayerGroup {
|
|
|
262
249
|
* @private
|
|
263
250
|
*/
|
|
264
251
|
private crossOrigin_;
|
|
252
|
+
/**
|
|
253
|
+
* @type {boolean}
|
|
254
|
+
* @private
|
|
255
|
+
*/
|
|
256
|
+
private displayFootprint_;
|
|
265
257
|
/**
|
|
266
258
|
* @type {boolean}
|
|
267
259
|
* @private
|
|
@@ -278,9 +270,9 @@ declare class STACLayer extends LayerGroup {
|
|
|
278
270
|
*/
|
|
279
271
|
private displayOverview_;
|
|
280
272
|
/**
|
|
281
|
-
* @type {string|boolean}
|
|
273
|
+
* @type {string|boolean|Array<Link|string>}
|
|
282
274
|
*/
|
|
283
|
-
displayWebMapLink_: string | boolean
|
|
275
|
+
displayWebMapLink_: string | boolean | Array<Link | string>;
|
|
284
276
|
/**
|
|
285
277
|
* @type {function(Asset):string|null}
|
|
286
278
|
* @private
|
|
@@ -309,6 +301,7 @@ declare class STACLayer extends LayerGroup {
|
|
|
309
301
|
/**
|
|
310
302
|
* Returns the vector layer that visualizes the bounds / footprint.
|
|
311
303
|
* @return {VectorLayer|null} The vector layer for the bounds
|
|
304
|
+
* @api
|
|
312
305
|
*/
|
|
313
306
|
getBoundsLayer(): VectorLayer<any> | null;
|
|
314
307
|
/**
|
|
@@ -348,17 +341,18 @@ declare class STACLayer extends LayerGroup {
|
|
|
348
341
|
private addThumbnail_;
|
|
349
342
|
/**
|
|
350
343
|
* Adds a layer for the web map links available in the STAC links.
|
|
351
|
-
* @return {Promise<Array<
|
|
344
|
+
* @return {Promise<Array<Layer>|undefined>} Resolves with a Layer or undefined when complete.
|
|
352
345
|
*/
|
|
353
|
-
addWebMapLinks_(): Promise<Array<
|
|
346
|
+
addWebMapLinks_(): Promise<Array<Layer> | undefined>;
|
|
354
347
|
/**
|
|
355
348
|
* Adds a layer for a link that implements the web-map-links extension.
|
|
356
|
-
* Supports: TileJSON, WMS, WMTS, XYZ
|
|
349
|
+
* Supports: PMTiles, TileJSON, WMS, WMTS, XYZ
|
|
357
350
|
* @see https://github.com/stac-extensions/web-map-links
|
|
358
351
|
* @param {Link} link A web map link
|
|
359
|
-
* @return {Promise<Array<
|
|
352
|
+
* @return {Promise<Array<Layer>|undefined>} Resolves with a list of layers or undefined when complete.
|
|
353
|
+
* @api
|
|
360
354
|
*/
|
|
361
|
-
addLayerForLink(link: any): Promise<Array<
|
|
355
|
+
addLayerForLink(link: any): Promise<Array<Layer> | undefined>;
|
|
362
356
|
/**
|
|
363
357
|
* @private
|
|
364
358
|
* @param {Asset} [asset] A STAC Asset
|
|
@@ -373,7 +367,7 @@ declare class STACLayer extends LayerGroup {
|
|
|
373
367
|
private addTileLayerForImagery_;
|
|
374
368
|
/**
|
|
375
369
|
* @param {Layer|LayerGroup} [layer] A Layer to add to the LayerGroup
|
|
376
|
-
* @param {STACObject} [data] The STAC object, can be any class exposed by stac-js
|
|
370
|
+
* @param {import("stac-js").STACObject} [data] The STAC object, can be any class exposed by stac-js
|
|
377
371
|
* @param {number} [zIndex=0] The z-index for the layer
|
|
378
372
|
* @private
|
|
379
373
|
*/
|
|
@@ -390,33 +384,38 @@ declare class STACLayer extends LayerGroup {
|
|
|
390
384
|
/**
|
|
391
385
|
* Indicates whether the LayerGroup shows only the bounds layer (i.e. no imagery/tile layers).
|
|
392
386
|
* @return {boolean} `true` if only the bounds layer is shown, `false` otherwise.
|
|
387
|
+
* @api
|
|
393
388
|
*/
|
|
394
389
|
hasOnlyBounds(): boolean;
|
|
395
390
|
/**
|
|
396
391
|
* Returns all potential web map links based on the given value for `displayWebMapLink`.
|
|
397
392
|
* @return {Array<Link>} An array of links.
|
|
393
|
+
* @api
|
|
398
394
|
*/
|
|
399
395
|
getWebMapLinks(): Array<Link>;
|
|
400
396
|
/**
|
|
401
397
|
* Update the assets to be rendered.
|
|
402
398
|
* @param {Array<string|Asset>|null} assets The assets to show.
|
|
403
399
|
* @return {Promise} Resolves when all assets are rendered.
|
|
400
|
+
* @api
|
|
404
401
|
*/
|
|
405
402
|
setAssets(assets: Array<string | Asset> | null): Promise<any>;
|
|
406
403
|
/**
|
|
407
404
|
* Get the STAC object.
|
|
408
405
|
*
|
|
409
406
|
* @return {STAC|Asset} The STAC object.
|
|
407
|
+
* @api
|
|
410
408
|
*/
|
|
411
409
|
getData(): STAC | Asset;
|
|
412
410
|
/**
|
|
413
411
|
* Get the STAC assets shown.
|
|
414
412
|
*
|
|
415
413
|
* @return {Array<Asset>} The STAC assets.
|
|
414
|
+
* @api
|
|
416
415
|
*/
|
|
417
416
|
getAssets(): Array<Asset>;
|
|
418
417
|
}
|
|
418
|
+
import SourceType from '../source/type.js';
|
|
419
419
|
import LayerGroup from 'ol/layer/Group.js';
|
|
420
420
|
import VectorLayer from 'ol/layer/Vector.js';
|
|
421
|
-
import TileLayer from 'ol/layer/Tile.js';
|
|
422
421
|
//# sourceMappingURL=STAC.d.ts.map
|
package/layer/STAC.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"STAC.d.ts","sourceRoot":"","sources":["../../../src/ol/layer/STAC.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"STAC.d.ts","sourceRoot":"","sources":["../../../src/ol/layer/STAC.js"],"names":[],"mappings":";qBAoCa,OAAO,cAAc,EAAE,MAAM;oBAG7B,OAAO,aAAa,EAAE,KAAK;;oBAM3B,OAAO,aAAa,EAAE,KAAK;4BAG3B,OAAO,mBAAmB,EAAE,aAAa;;;;;;;;;;;WAOxC,kBAAiB;;;;;;;;;;;;;;;;;;;+BAOR,UAAU,QAAE,aAAa,QAAE,CAAC,QAAM,IAAI,CAAC,KAAE,CAAC,aAAa,GAAC,QAAQ,aAAa,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CA0BxE,MAAM,GAAC,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AArDzC;;GAEG;AACH;;GAEG;AACH;;GAEG;AACH;;GAEG;AACH;;GAEG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AAEH;;;;;;;;;;GAUG;AACH;IACE;;;OAGG;IACH,qBAHW,OAAO,EAmIjB;IAjHC;;;OAGG;IACH,0BAAiD;IAEjD;;;OAGG;IACH,cAAU;IAEV;;;OAGG;IACH,gBAAmB;IAEnB;;;OAGG;IACH,eAAgB;IAEhB;;;OAGG;IACH,qBAA+C;IAE/C;;;OAGG;IACH,0BAA0E;IAE1E;;;OAGG;IACH,iCAAwE;IAExE;;;OAGG;IACH,wBAAsD;IAEtD;;;OAGG;IACH,yBAAwE;IAExE;;OAEG;IACH,oBAFU,MAAM,GAAC,OAAO,GAAC,MAAM,IAAI,GAAC,MAAM,CAAC,CAEiB;IAE5D;;;OAGG;IACH,8BAAiE;IAEjE;;;OAGG;IACH,gCAAsE;IAEtE;;;OAGG;IACH,qBAA6D;IAE7D;;;OAGG;IACH,yBAAyE;IAEzE;;;OAGG;IACH,qBAAwB;IA4B1B;;;;OAIG;IACH,kBAHY,mBAAY,IAAI,CAK3B;IAED;;;OAGG;IACH,qBASC;IAED;;;;;;OAMG;IACH,mBAuCC;IAED;;;OAGG;IACH,0BAiBC;IAED;;;OAGG;IACH,uBA0BC;IAED;;;;OAIG;IACH,oBAUC;IAED;;;;OAIG;IACH,sBA0BC;IAED;;;OAGG;IACH,mBAFY,QAAQ,MAAM,KAAK,CAAC,GAAC,SAAS,CAAC,CAO1C;IAED;;;;;;;OAOG;IACH,4BAHY,QAAQ,MAAM,KAAK,CAAC,GAAC,SAAS,CAAC,CAuI1C;IAED;;;;OAIG;IACH,oBA+DC;IAED;;;;OAIG;IACH,gCAgBC;IAED;;;;;OAKG;IACH,kBAIC;IAED;;;OAGG;IACH,sBA+BC;IAED;;OAEG;IACH,sBAwBC;IAED;;;;OAIG;IACH,iBAHY,OAAO,CASlB;IAED;;;;OAIG;IACH,kBAHY,MAAM,IAAI,CAAC,CA+BtB;IAED;;;;;OAKG;IACH,kBAJW,MAAM,MAAM,QAAM,CAAC,GAAC,IAAI,gBAmBlC;IAED;;;;;OAKG;IACH,WAHY,YAAU,CAKrB;IAED;;;;;OAKG;IACH,aAHY,YAAY,CAKvB;CAoCF;uBAz2BsB,mBAAmB;uBADnB,mBAAmB;wBAKlB,oBAAoB"}
|