@opengeoweb/webmap 21.1.0 → 21.2.0-nightly-20261113

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.
@@ -15,24 +15,27 @@ export declare enum LayerType {
15
15
  export interface TiledLayerFoundation {
16
16
  tileServer?: TileServerSettings;
17
17
  }
18
- export interface EDRFeatureLayerOptions {
19
- collectionId: string;
20
- parameterNames: string[];
21
- parameterMetadata?: {
18
+ export type EDRLabel = string | Record<string, string>;
19
+ export interface EDRParameterMetadata {
20
+ id?: string;
21
+ label?: EDRLabel;
22
+ description?: EDRLabel;
23
+ observedProperty?: {
22
24
  id?: string;
23
- label?: string;
24
- description?: string;
25
- observedProperty?: {
26
- label?: string;
27
- };
28
- unit?: {
29
- label?: string;
30
- symbol?: {
31
- value?: string;
32
- };
25
+ label?: EDRLabel;
26
+ };
27
+ unit?: {
28
+ label?: EDRLabel;
29
+ symbol?: string | {
30
+ value?: string;
33
31
  };
34
32
  };
35
33
  }
34
+ export interface EDRFeatureLayerOptions {
35
+ collectionId: string;
36
+ parameterNames: string[];
37
+ parameterMetadata?: EDRParameterMetadata;
38
+ }
36
39
  export interface STACGeoTIFFLayerOptions {
37
40
  assetKey?: string;
38
41
  dataLayout?: 'auto' | 'temporal' | 'spatial-tiles';
@@ -11,7 +11,7 @@ import { parseISO8601DateToDate, DateInterval, parseISO8601IntervalToDateInterva
11
11
  import { WMXMLStringToJson } from './WMXMLParser';
12
12
  export { default as WMJSDimension, handleDateUtilsISOString, } from './WMJSDimension';
13
13
  export { default as WMLayer } from './WMLayer';
14
- export type { LayerOptions, LayerFoundation, EDRFeatureLayerOptions, STACGeoTIFFLayerOptions, } from './WMLayerTypes';
14
+ export type { LayerOptions, LayerFoundation, EDRFeatureLayerOptions, EDRLabel, EDRParameterMetadata, STACGeoTIFFLayerOptions, } from './WMLayerTypes';
15
15
  export { LayerType };
16
16
  export { default as WMBBOX } from './WMBBOX';
17
17
  export type { Bbox } from './WMBBOX';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/webmap",
3
- "version": "21.1.0",
3
+ "version": "21.2.0-nightly-20261113",
4
4
  "description": "GeoWeb webmap library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -20,8 +20,8 @@
20
20
  }
21
21
  },
22
22
  "dependencies": {
23
- "@opengeoweb/shared": "21.1.0",
24
- "@opengeoweb/authentication": "21.1.0",
23
+ "@opengeoweb/shared": "21.2.0-nightly-20261113",
24
+ "@opengeoweb/authentication": "21.2.0-nightly-20261113",
25
25
  "@tanstack/query-core": "^5.69.2",
26
26
  "lodash": "^4.18.1",
27
27
  "i18next": "^25.0.1",