@opengeoweb/core 11.1.0 → 12.1.0

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.
Files changed (58) hide show
  1. package/index.esm.js +761 -60
  2. package/package.json +12 -11
  3. package/src/lib/GeoWebDemo.stories.d.ts +4 -1
  4. package/src/lib/components/ComponentsLookUp/componentsLookUp.stories.d.ts +8 -7
  5. package/src/lib/components/ConfigurableMapConnect/ConfigurableMapConnect.d.ts +2 -1
  6. package/src/lib/components/ConfigurableMapConnect/ConfigurableMapConnect.stories.d.ts +6 -4
  7. package/src/lib/components/FeatureInfo/utils.d.ts +4 -1
  8. package/src/lib/components/LanguageSelect/Languages.stories.d.ts +9 -33
  9. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect.d.ts +1 -0
  10. package/src/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectValue.d.ts +1 -0
  11. package/src/lib/components/LayerManager/LayerManager.custom.stories.d.ts +4 -1
  12. package/src/lib/components/LayerManager/LayerManager.stories.d.ts +19 -90
  13. package/src/lib/components/LayerManager/LayerManagerConnect.stories.d.ts +7 -22
  14. package/src/lib/components/LayerManager/LayerSelect/LayerSelectConnect.stories.d.ts +7 -7
  15. package/src/lib/components/LayerManager/ProjectionSelect/ProjectionSelect.stories.d.ts +1 -0
  16. package/src/lib/components/LegendConnect/LegendConnect.stories.d.ts +1 -0
  17. package/src/lib/components/MapDrawToolRedux/MapDrawToolRedux.stories.d.ts +1 -0
  18. package/src/lib/components/MapDrawToolRedux/MapDrawToolReduxIntersection.stories.d.ts +1 -0
  19. package/src/lib/components/MapDrawToolRedux/MapDrawToolReduxMultipleDrawTools.stories.d.ts +1 -0
  20. package/src/lib/components/MapDrawToolRedux/OpenLayersFeatureLayerConnect.d.ts +13 -0
  21. package/src/lib/components/MapViewConnect/MapViewConnect.DoubleMap.stories.d.ts +1 -0
  22. package/src/lib/components/MapViewConnect/MapViewConnect.Errors.stories.d.ts +1 -0
  23. package/src/lib/components/MapViewConnect/MapViewConnect.FeatureLayers.stories.d.ts +1 -0
  24. package/src/lib/components/MapViewConnect/MapViewConnect.InitialBBoxAndWithout.stories.d.ts +1 -0
  25. package/src/lib/components/MapViewConnect/MapViewConnect.LayerActions.stories.d.ts +1 -0
  26. package/src/lib/components/MapViewConnect/MapViewConnect.LayerChangeEnabledOpacity.stories.d.ts +1 -0
  27. package/src/lib/components/MapViewConnect/MapViewConnect.MapModuleOverDefaultMap.stories.d.ts +1 -0
  28. package/src/lib/components/MapViewConnect/MapViewConnect.MapPin.stories.d.ts +1 -0
  29. package/src/lib/components/MapViewConnect/MapViewConnect.MultiMapLayerManager.stories.d.ts +1 -0
  30. package/src/lib/components/MapViewConnect/MapViewConnect.SelectorTest.stories.d.ts +1 -0
  31. package/src/lib/components/MapViewConnect/MapViewConnect.SetBaseLayers.stories.d.ts +1 -0
  32. package/src/lib/components/MapViewConnect/MapViewConnect.ToggleControls.stories.d.ts +1 -0
  33. package/src/lib/components/MapViewConnect/MapViewConnect.d.ts +4 -2
  34. package/src/lib/components/MapViewConnect/OlMapViewConnect.d.ts +16 -0
  35. package/src/lib/components/MapViewConnect/OlMapViewConnect.spec.d.ts +1 -0
  36. package/src/lib/components/MapViewConnect/OlMapViewLayerConnect.d.ts +8 -0
  37. package/src/lib/components/MapViewConnect/index.d.ts +2 -0
  38. package/src/lib/components/MapViewConnect/olMapUtils.d.ts +7 -0
  39. package/src/lib/components/MapViewConnect/olMapUtils.spec.d.ts +1 -0
  40. package/src/lib/components/MapViewConnect/useGetOpenLayersView.d.ts +9 -0
  41. package/src/lib/components/MultiMapDimensionSelectConnect/EnsembleDimensionExample.stories.d.ts +1 -0
  42. package/src/lib/components/MultiMapDimensionSelectConnect/MultiDimensionSelectConnect.stories.d.ts +1 -0
  43. package/src/lib/components/MultiMapDimensionSelectConnect/MultiMapMultiDimensionSelect.stories.d.ts +1 -0
  44. package/src/lib/components/MultiMapViewConnect/ModelRunInterval/ModelRunInterval.stories.d.ts +1 -0
  45. package/src/lib/components/MultiMapViewConnect/MultiMapView10x10.stories.d.ts +1 -0
  46. package/src/lib/components/MultiMapViewConnect/MultiMapView2x2.stories.d.ts +1 -0
  47. package/src/lib/components/MultiMapViewConnect/MultiMapView4x3.stories.d.ts +1 -0
  48. package/src/lib/components/Providers/Providers.d.ts +9 -0
  49. package/src/lib/components/Search/SearchDialog.stories.d.ts +7 -13
  50. package/src/lib/components/Search/SearchDialogConnect.stories.d.ts +5 -1
  51. package/src/lib/components/SyncGroups/SyncGroups.FourMapsSynced.stories.d.ts +5 -1
  52. package/src/lib/components/SyncGroups/SyncGroups.SyncMany.stories.d.ts +1 -0
  53. package/src/lib/components/SyncGroups/SyncGroups.SyncMaps.stories.d.ts +5 -1
  54. package/src/lib/components/SyncGroups/SyncGroups.TwoMapsSynced.stories.d.ts +5 -1
  55. package/src/lib/components/TimeSliderConnect/AutoUpdate.stories.d.ts +1 -0
  56. package/src/lib/components/TimeSliderConnect/TimeSliderConnect.stories.d.ts +6 -15
  57. package/src/lib/components/WMSLoader/WMSLoader.stories.d.ts +1 -0
  58. package/src/lib/components/MultiMapViewConnect/MultiMapView.stories.d.ts +0 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/core",
3
- "version": "11.1.0",
3
+ "version": "12.1.0",
4
4
  "description": "GeoWeb Core library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -8,21 +8,22 @@
8
8
  "url": "git@gitlab.com:opengeoweb/opengeoweb.git"
9
9
  },
10
10
  "dependencies": {
11
- "@opengeoweb/shared": "*",
11
+ "@opengeoweb/shared": "12.1.0",
12
12
  "react-redux": "^8.1.3",
13
- "@opengeoweb/store": "*",
14
- "@opengeoweb/timeslider": "*",
13
+ "@opengeoweb/store": "12.1.0",
14
+ "@opengeoweb/timeslider": "12.1.0",
15
15
  "@reduxjs/toolkit": "^1.9.7",
16
- "@opengeoweb/webmap-react": "*",
17
- "@opengeoweb/webmap": "*",
18
- "@opengeoweb/theme": "*",
16
+ "@opengeoweb/webmap-react": "12.1.0",
17
+ "@opengeoweb/webmap": "12.1.0",
18
+ "@opengeoweb/theme": "12.1.0",
19
19
  "axios": "^1.7.7",
20
- "@opengeoweb/layer-select": "*",
20
+ "@opengeoweb/layer-select": "12.1.0",
21
21
  "lodash": "^4.17.21",
22
+ "ol": "^10.4.0",
22
23
  "react-sortablejs": "^6.1.4",
23
24
  "sortablejs": "^1.15.1",
24
25
  "@mui/system": "^6.1.1",
25
- "@opengeoweb/snackbar": "*",
26
+ "@opengeoweb/snackbar": "12.1.0",
26
27
  "react-router-dom": "^6.21.0",
27
28
  "react-draggable": "^4.4.6",
28
29
  "i18next": "^23.11.5",
@@ -30,9 +31,9 @@
30
31
  "dompurify": "^3.0.6",
31
32
  "@mui/material": "^6.1.1",
32
33
  "@sentry/react": "^8.34.0",
33
- "@opengeoweb/authentication": "*",
34
+ "@opengeoweb/authentication": "12.1.0",
34
35
  "@tanstack/react-query": "^5.62.7",
35
- "@opengeoweb/api": "*"
36
+ "@opengeoweb/api": "12.1.0"
36
37
  },
37
38
  "peerDependencies": {
38
39
  "react": "18",
@@ -3,4 +3,7 @@ declare const _default: {
3
3
  title: string;
4
4
  };
5
5
  export default _default;
6
- export declare const GeoWebDemo: () => React.ReactElement;
6
+ export declare const GeoWebDemo: {
7
+ (): React.ReactElement;
8
+ tags: string[];
9
+ };
@@ -1,7 +1,8 @@
1
- import * as React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
6
- export declare const ComponentsLookUpLightTheme: React.FC;
7
- export declare const ComponentsLookUpDarkTheme: React.FC;
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { componentsLookUp } from './componentsLookUp';
3
+ declare const meta: Meta<typeof componentsLookUp>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof componentsLookUp>;
6
+ export declare const Component: Story;
7
+ export declare const ComponentsLookUpLightTheme: Story;
8
+ export declare const ComponentsLookUpDarkTheme: Story;
@@ -21,7 +21,7 @@ export interface ConfigurableMapConnectProps {
21
21
  tileServerSettings?: TileServerSettings;
22
22
  autoUpdateLayerId?: string;
23
23
  autoTimeStepLayerId?: string;
24
- bbox?: mapTypes.Bbox;
24
+ initialBbox?: mapTypes.Bbox;
25
25
  srs?: string;
26
26
  dimensions?: mapTypes.Dimension[];
27
27
  animationPayload?: mapTypes.AnimationPayloadType;
@@ -43,5 +43,6 @@ export interface ConfigurableMapConnectProps {
43
43
  children?: React.ReactNode;
44
44
  mapControls?: React.ReactNode;
45
45
  shouldDisablePrefetching?: boolean;
46
+ useOl?: boolean;
46
47
  }
47
48
  export declare const ConfigurableMapConnect: React.FC<ConfigurableMapConnectProps>;
@@ -1,8 +1,10 @@
1
1
  import * as React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
2
+ import type { Meta, StoryObj } from '@storybook/react';
3
+ import { ConfigurableMapConnect } from './ConfigurableMapConnect';
4
+ declare const meta: Meta<typeof ConfigurableMapConnect>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof ConfigurableMapConnect>;
7
+ export declare const Component: Story;
6
8
  export declare const ConfigurableMapDefault: () => React.ReactElement;
7
9
  export declare const ConfigurableMapCustomized: () => React.ReactElement;
8
10
  export declare const ConfigurableMapDrawControls: () => React.ReactElement;
@@ -1,4 +1,6 @@
1
1
  import { layerTypes } from '@opengeoweb/store';
2
+ import { IWMJSMap } from '@opengeoweb/webmap';
3
+ import { MapLocation } from '@opengeoweb/webmap-react';
2
4
  export interface GFIResult {
3
5
  data: string;
4
6
  isLoading: boolean;
@@ -8,10 +10,11 @@ export interface GFILayer {
8
10
  url: string;
9
11
  title: string;
10
12
  }
13
+ export declare const getFeatureInfoUrl: (layer: layerTypes.Layer, wmjsMap: IWMJSMap | undefined, mapPinLocation: MapLocation | null) => string | undefined;
11
14
  /**
12
15
  * Make a list of GFI Layers to display.
13
16
  * @param layers
14
17
  * @param mapId
15
18
  * @returns
16
19
  */
17
- export declare const getLayersToUpdate: (layers: layerTypes.Layer[], mapId: string) => GFILayer[];
20
+ export declare const getLayersToUpdate: (mapPinLocation: MapLocation | null, layers: layerTypes.Layer[], mapId: string) => GFILayer[];
@@ -1,33 +1,9 @@
1
- import * as React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
6
- export declare const Languages: {
7
- (): React.ReactElement;
8
- parameters: {
9
- layout: string;
10
- zeplinLink: {
11
- name: string;
12
- link: string;
13
- }[];
14
- };
15
- };
16
- export declare const LanguagesDark: {
17
- (): React.ReactElement;
18
- parameters: {
19
- layout: string;
20
- zeplinLink: {
21
- name: string;
22
- link: string;
23
- }[];
24
- };
25
- };
26
- export declare const LanguagesSnaphot: {
27
- (): React.ReactElement;
28
- tags: string[];
29
- };
30
- export declare const LanguagesSnapshotDark: {
31
- (): React.ReactElement;
32
- tags: string[];
33
- };
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import LanguageSelect from './LanguageSelect';
3
+ declare const meta: Meta<typeof LanguageSelect>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof LanguageSelect>;
6
+ export declare const Languages: Story;
7
+ export declare const LanguagesDark: Story;
8
+ export declare const LanguagesSnaphot: Story;
9
+ export declare const LanguagesSnapshotDark: Story;
@@ -22,6 +22,7 @@ export interface DimensionSelectProps {
22
22
  SingleValueComponent?: React.FC<SingleValueComponentProps>;
23
23
  hideLatestDuplicate?: boolean;
24
24
  skipLocalStyling?: boolean;
25
+ layerId: string;
25
26
  }
26
27
  declare const DimensionSelect: FC<DimensionSelectProps>;
27
28
  export default DimensionSelect;
@@ -3,6 +3,7 @@ import { layerTypes, mapTypes } from '@opengeoweb/store';
3
3
  import { DimensionValueMappings } from '../../../LayerManagerUtils';
4
4
  declare const DimensionSelectValue: FC<{
5
5
  selectedDimension?: mapTypes.Dimension;
6
+ generatedValues: string[];
6
7
  icon?: ElementType;
7
8
  tooltip: string;
8
9
  isEnabled: boolean;
@@ -3,4 +3,7 @@ declare const _default: {
3
3
  title: string;
4
4
  };
5
5
  export default _default;
6
- export declare const LayerManagerCustomTheme: () => React.ReactElement;
6
+ export declare const LayerManagerCustomTheme: {
7
+ (): React.ReactElement;
8
+ tags: string[];
9
+ };
@@ -1,90 +1,19 @@
1
- import * as React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
6
- export declare const LayerManagerLightTheme: {
7
- (): React.ReactElement;
8
- parameters: {
9
- zeplinLink: {
10
- name: string;
11
- link: string;
12
- }[];
13
- };
14
- tags: string[];
15
- };
16
- export declare const DockedLayerManagerLightTheme: {
17
- (): React.ReactElement;
18
- parameters: {
19
- zeplinLink: {
20
- name: string;
21
- link: string;
22
- }[];
23
- };
24
- tags: string[];
25
- };
26
- export declare const LayerManagerLightThemeSmall: {
27
- (): React.ReactElement;
28
- tags: string[];
29
- };
30
- export declare const LayerManagerLightThemeMedium: {
31
- (): React.ReactElement;
32
- parameters: {
33
- zeplinLink: {
34
- name: string;
35
- link: string;
36
- }[];
37
- };
38
- tags: string[];
39
- };
40
- export declare const LayerManagerDarkTheme: {
41
- (): React.ReactElement;
42
- parameters: {
43
- zeplinLink: {
44
- name: string;
45
- link: string;
46
- }[];
47
- };
48
- tags: string[];
49
- };
50
- export declare const DockedLayerManagerDarkTheme: {
51
- (): React.ReactElement;
52
- parameters: {
53
- zeplinLink: {
54
- name: string;
55
- link: string;
56
- }[];
57
- };
58
- tags: string[];
59
- };
60
- export declare const LayerManagerDarkThemeSmall: {
61
- (): React.ReactElement;
62
- tags: string[];
63
- };
64
- export declare const LayerManagerDarkThemeMedium: {
65
- (): React.ReactElement;
66
- parameters: {
67
- zeplinLink: {
68
- name: string;
69
- link: string;
70
- }[];
71
- };
72
- tags: string[];
73
- };
74
- export declare const LayerManagerLoadingState: () => React.ReactElement;
75
- export declare const LayerManagerWithErrorLight: {
76
- (): React.ReactElement;
77
- tags: string[];
78
- };
79
- export declare const LayerManagerWithErrorDark: {
80
- (): React.ReactElement;
81
- tags: string[];
82
- };
83
- export declare const LayerManagerCollapsedLight: {
84
- (): React.ReactElement;
85
- tags: string[];
86
- };
87
- export declare const LayerManagerCollapsedDark: {
88
- (): React.ReactElement;
89
- tags: string[];
90
- };
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import LayerManager from './LayerManager';
3
+ declare const meta: Meta<typeof LayerManager>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof LayerManager>;
6
+ export declare const Component: Story;
7
+ export declare const LayerManagerLightTheme: Story;
8
+ export declare const DockedLayerManagerLightTheme: Story;
9
+ export declare const LayerManagerLightThemeSmall: Story;
10
+ export declare const LayerManagerLightThemeMedium: Story;
11
+ export declare const LayerManagerDarkTheme: Story;
12
+ export declare const DockedLayerManagerDarkTheme: Story;
13
+ export declare const LayerManagerDarkThemeSmall: Story;
14
+ export declare const LayerManagerDarkThemeMedium: Story;
15
+ export declare const LayerManagerLoadingState: Story;
16
+ export declare const LayerManagerWithErrorLight: Story;
17
+ export declare const LayerManagerWithErrorDark: Story;
18
+ export declare const LayerManagerCollapsedLight: Story;
19
+ export declare const LayerManagerCollapsedDark: Story;
@@ -1,25 +1,10 @@
1
1
  import * as React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
6
- export declare const LayerManagerConnectLightTheme: {
7
- (): React.ReactElement;
8
- parameters: {
9
- zeplinLink: {
10
- name: string;
11
- link: string;
12
- }[];
13
- };
14
- };
15
- export declare const LayerManagerConnectDarkTheme: {
16
- (): React.ReactElement;
17
- parameters: {
18
- zeplinLink: {
19
- name: string;
20
- link: string;
21
- }[];
22
- };
23
- };
2
+ import type { Meta, StoryObj } from '@storybook/react';
3
+ import { LayerManagerConnect } from '.';
4
+ declare const meta: Meta<typeof LayerManagerConnect>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof LayerManagerConnect>;
7
+ export declare const LayerManagerConnectLightTheme: Story;
8
+ export declare const LayerManagerConnectDarkTheme: Story;
24
9
  export declare const LayerManagerConnectWithMultiMaps: () => React.ReactElement;
25
10
  export declare const LayerManagerConnectWithTiledMap: () => React.ReactElement;
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
2
- declare const _default: {
3
- title: string;
4
- };
5
- export default _default;
6
- export declare const MapWithLayerSelectDemoLightTheme: React.FC;
7
- export declare const MapWithLayerSelectDemoDarkTheme: React.FC;
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import LayerManagerMapButtonConnect from '../LayerManagerMapButtonConnect';
3
+ declare const meta: Meta<typeof LayerManagerMapButtonConnect>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof LayerManagerMapButtonConnect>;
6
+ export declare const MapWithLayerSelectDemoLightTheme: Story;
7
+ export declare const MapWithLayerSelectDemoDarkTheme: Story;
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
+ tags: string[];
4
5
  };
5
6
  export default _default;
6
7
  export declare const ProjectionSelectInMap: () => React.ReactElement;
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
+ tags: string[];
4
5
  };
5
6
  export default _default;
6
7
  export declare const LegendConnectStoryWithMultiMaps: () => React.ReactElement;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
+ tags: string[];
4
5
  };
5
6
  export default _default;
6
7
  export declare const BasicMapDrawTool: () => React.ReactElement;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
+ tags: string[];
4
5
  };
5
6
  export default _default;
6
7
  export declare const IntersectionDemo: () => React.ReactElement;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
+ tags: string[];
4
5
  };
5
6
  export default _default;
6
7
  export declare const MultipleDrawToolsDemo: () => React.ReactElement;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { layerTypes } from '@opengeoweb/store';
3
+ import { StyleLike } from 'ol/style/Style';
4
+ import { HoverSelect } from '@opengeoweb/webmap-react';
5
+ interface OpenLayersFeatureLayerConnectProps {
6
+ layer: layerTypes.FeatureLayer;
7
+ layerId?: string;
8
+ zIndex: number;
9
+ style: StyleLike;
10
+ hoverSelect?: HoverSelect;
11
+ }
12
+ export declare const OpenLayersFeatureLayerConnect: React.FC<OpenLayersFeatureLayerConnectProps>;
13
+ export {};
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
4
  component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ tags: string[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const DoubleMap: React.FC;
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
4
  component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ tags: string[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const MapError: () => React.ReactElement;
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
4
  component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ tags: string[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const FeatureLayers: () => React.ReactElement;
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
4
  component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ tags: string[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const MapWithAndWithoutInitialBBOX: React.FC;
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
4
  component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ tags: string[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const LayerActions: () => React.ReactElement;
@@ -3,6 +3,7 @@ import { layerActions, layerTypes } from '@opengeoweb/store';
3
3
  declare const _default: {
4
4
  title: string;
5
5
  component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
6
+ tags: string[];
6
7
  };
7
8
  export default _default;
8
9
  export interface LayerChangeOpacityInputProps {
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
4
  component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ tags: string[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const MapModuleOverDefaultMap: () => React.ReactElement;
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
4
  component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ tags: string[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const SetMapPinAction: {
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
4
  component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ tags: string[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const MultiMapLayerManager: React.FC;
@@ -3,6 +3,7 @@ import { MapViewConnectProps } from './MapViewConnect';
3
3
  declare const _default: {
4
4
  title: string;
5
5
  component: React.FC<MapViewConnectProps>;
6
+ tags: string[];
6
7
  };
7
8
  export default _default;
8
9
  export declare const SelectorTests: () => React.ReactElement;
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
4
  component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ tags: string[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const SetBaseLayersAction: React.FC;
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
4
  component: React.FC<import("./MapViewConnect").MapViewConnectProps>;
5
+ tags: string[];
5
6
  };
6
7
  export default _default;
7
8
  export declare const MapToggleControls: React.FC;
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
+ import { Bbox } from '@opengeoweb/webmap';
2
3
  import { MapViewProps } from '@opengeoweb/webmap-react';
3
- export interface MapControls {
4
+ export interface MapControlsProps {
4
5
  mapControlsPositionTop?: number;
5
6
  search?: boolean;
6
7
  zoomControls?: boolean;
@@ -13,11 +14,12 @@ export interface MapControls {
13
14
  export interface MapViewConnectProps extends MapViewProps {
14
15
  mapId: string;
15
16
  displayTimeInMap?: boolean;
16
- controls?: MapControls;
17
+ controls?: MapControlsProps;
17
18
  showScaleBar?: boolean;
18
19
  children?: React.ReactNode;
19
20
  showLayerInfo?: boolean;
20
21
  passiveMap?: boolean;
22
+ initialBbox?: Bbox;
21
23
  }
22
24
  export declare const ORIGIN_REACTMAPVIEWCONNECT_ONMAPCHANGEDIMENSION = "ORIGIN_REACTMAPVIEWCONNECT_ONMAPCHANGEDIMENSION";
23
25
  export declare const ORIGIN_REACTMAPVIEWCONNECT_ONUPDATELAYERINFO = "ORIGIN_REACTMAPVIEWCONNECT_ONUPDATELAYERINFO";
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ import { MapViewConnectProps } from './MapViewConnect';
3
+ /**
4
+ * Connected component used to display the map and selected layers.
5
+ * Includes options to disable the map controls and legend.
6
+ *
7
+ * Expects the following props:
8
+ * @param {string} mapId mapId: string - Id of the map
9
+ * @param {object} [controls.zoomControls] **optional** controls: object - toggle the map controls, zoomControls defaults to true
10
+ * @param {boolean} [displayTimeInMap] **optional** displayTimeInMap: boolean, toggles the mapTime, defaults to true
11
+ * @param {boolean} [showScaleBar] **optional** showScaleBar: boolean, toggles the scaleBar, defaults to true
12
+ * @example
13
+ * ```<MapViewConnect mapId={mapId} controls={{ zoomControls: false }} displayTimeInMap={false} showScaleBar={false}/>```
14
+ */
15
+ declare const OlMapViewConnect: React.FC<MapViewConnectProps>;
16
+ export default OlMapViewConnect;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface OlMapViewLayerConnectProps {
3
+ layerId: string | undefined;
4
+ mapId: string;
5
+ zIndex: number;
6
+ debugMode: boolean;
7
+ }
8
+ export declare const OlMapViewLayerConnect: (layerProps: OlMapViewLayerConnectProps) => React.ReactElement | null;
@@ -1 +1,3 @@
1
1
  export { default as MapViewConnect } from './MapViewConnect';
2
+ export { default as OlMapViewConnect } from './OlMapViewConnect';
3
+ export * from './olMapUtils';
@@ -0,0 +1,7 @@
1
+ import { TimeSliderStartCenterEndTime } from '@opengeoweb/store';
2
+ import { Dimension } from '@opengeoweb/webmap';
3
+ import { MapLocation, OnInitializeLayerProps, TimeContextType, UpdateLayerInfoPayload } from '@opengeoweb/webmap-react';
4
+ import { Feature } from 'ol';
5
+ export declare const makePrefetchTimeSpan: (timeSliderStartCenterEndTime: TimeSliderStartCenterEndTime, animationStartTime: string | undefined, animationEndTime: string | undefined, isAnimating: boolean) => TimeContextType;
6
+ export declare const makeLayerInfoPayload: (payload: OnInitializeLayerProps, mapDimensions: Dimension[], mapId: string) => UpdateLayerInfoPayload;
7
+ export declare const getCenterOfLinkedFeature: (feature: Feature | undefined, srs: string) => MapLocation | null;
@@ -0,0 +1,9 @@
1
+ import { CoreAppStore } from '@opengeoweb/store';
2
+ import { Store } from '@reduxjs/toolkit';
3
+ import { View } from 'ol';
4
+ interface UseGetOpenLayersViewValue {
5
+ view?: View;
6
+ name?: string;
7
+ }
8
+ export declare const useGetOpenLayersView: (mapId: string, store: Store<CoreAppStore>) => UseGetOpenLayersViewValue;
9
+ export {};
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
+ tags: string[];
4
5
  };
5
6
  export default _default;
6
7
  export declare const MultiDimensionDemo: React.FC;
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
+ tags: string[];
4
5
  };
5
6
  export default _default;
6
7
  export declare const ElevationDimensionDemoWithLightTheme: React.FC;
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
+ tags: string[];
4
5
  };
5
6
  export default _default;
6
7
  export declare const MultiDimensionSelectStoryWithMultiMaps: () => React.ReactElement;