@opengeoweb/core 2.1.0 → 2.1.4
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/{core.esm.js → index.esm.js} +3442 -1204
- package/{core.umd.js → index.umd.js} +3832 -1412
- package/lib/components/ComponentsLookUp/componentsLookUp.d.ts +48 -0
- package/lib/components/ComponentsLookUp/componentsLookUp.stories.d.ts +7 -0
- package/lib/components/ComponentsLookUp/componentsLookup.spec.d.ts +1 -0
- package/lib/components/ComponentsLookUp/index.d.ts +1 -0
- package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.d.ts +37 -0
- package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.spec.d.ts +1 -0
- package/lib/components/ConfigurableConnectedMap/ConfigurableConnectedMap.stories.d.ts +6 -0
- package/lib/components/ConfigurableConnectedMap/index.d.ts +1 -0
- package/lib/components/ConfigurableMapWithSlider/ConfigurableMapWithSliderConnect.d.ts +5 -0
- package/lib/components/CustomSwitch/CustomSwitch.d.ts +3 -0
- package/lib/components/CustomSwitch/CustomSwitch.spec.d.ts +1 -0
- package/lib/components/CustomSwitch/CustomSwitch.stories.d.ts +3 -0
- package/lib/components/CustomSwitch/index.d.ts +1 -0
- package/lib/components/LayerManager/DescriptionRow/DescriptionRow.d.ts +1 -0
- package/lib/components/LayerManager/LayerContainerRow/LayerManagerButton.d.ts +1 -1
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelect.d.ts +4 -5
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/DimensionSelect/DimensionSelectConnect.d.ts +0 -1
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStyles.d.ts +5 -5
- package/lib/components/LayerManager/LayerContainerRow/LayerRow/RenderStyles/RenderStylesConnect.d.ts +0 -1
- package/lib/components/LayerManager/LayerManager.d.ts +2 -0
- package/lib/components/LayerManager/LayerManager.stories.d.ts +7 -9
- package/lib/components/LayerManager/LayerManagerConnect.d.ts +1 -0
- package/lib/components/LayerManager/LayerManagerConnect.stories.d.ts +5 -0
- package/lib/components/LayerManager/LayerManagerStories.stories.d.ts +6 -0
- package/lib/components/LayerManager/LayerManagerUtils.d.ts +2 -2
- package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButtonConnect.d.ts +8 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterButton/KeywordFilterButtonConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.d.ts +16 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResults.stories.d.ts +13 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsConnect.d.ts +7 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsListItem.d.ts +10 -0
- package/lib/components/LayerManager/LayerSelect/KeywordFilterResults/KeywordFilterResultsListItem.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerList.d.ts +10 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerList.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListConnect.d.ts +6 -0
- package/lib/components/LayerManager/LayerSelect/LayerList/LayerListConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelect.stories.d.ts +7 -7
- package/lib/components/LayerManager/LayerSelect/LayerSelectConnect.d.ts +2 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelectConnect.stories.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/LayerSelectStories.stories.d.ts +6 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchField.d.ts +7 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchField.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldButtonContainer.d.ts +8 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldButtonContainer.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldConnect.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/SearchField/SearchFieldConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChip.d.ts +10 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChip.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChipConnect.d.ts +9 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceChipConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceList.d.ts +10 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceList.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceListConnect.d.ts +6 -0
- package/lib/components/LayerManager/LayerSelect/ServiceList/ServiceListConnect.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsButton/ServiceOptionsButton.d.ts +3 -0
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsButton/ServiceOptionsButton.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsButton/ServiceOptionsButton.stories.d.ts +7 -0
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.d.ts +6 -0
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.spec.d.ts +1 -0
- package/lib/components/LayerManager/LayerSelect/ServiceOptionsDialog/ServiceOptionsDialog.stories.d.ts +13 -0
- package/lib/components/LayerManager/LayerSelect/ServicePopup/ServicePopup.d.ts +3 -1
- package/lib/components/LayerManager/tooltipContainerStyles.d.ts +1 -1
- package/lib/components/Legend/LegendConnect.d.ts +3 -0
- package/lib/components/Legend/LegendDialog.d.ts +2 -0
- package/lib/components/Legend/LegendMapButtonConnect.d.ts +2 -0
- package/lib/components/MapView/MapView.Error.stories.d.ts +4 -0
- package/lib/components/MapView/{MapView.MapCursor.stories.d.ts → MapView.MapPin.stories.d.ts} +1 -1
- package/lib/components/MapView/MapView.ShowLayerInfo.stories.d.ts +5 -0
- package/lib/components/MapView/MapView.stories.d.ts +2 -1
- package/lib/components/MapView/MapViewConnect.LayerChangeEnabledOpacity.stories.d.ts +7 -0
- package/lib/components/MapView/MapViewConnect.MapPin.stories.d.ts +5 -0
- package/lib/components/MapView/MapViewConnect.d.ts +7 -3
- package/lib/components/MapView/MapViewConnect.stories.d.ts +1 -0
- package/lib/components/Mapcontrols/MapControlButton.d.ts +1 -1
- package/lib/components/MultiMapDimensionSelect/DimensionSelectButtonConnect.d.ts +2 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.d.ts +2 -0
- package/lib/components/MultiMapDimensionSelect/DimensionSelectDialogConnect.stories.d.ts +25 -0
- package/lib/components/MultiMapDimensionSelect/MultiDimensionSelect.stories.d.ts +1 -0
- package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectConfig.d.ts +1 -1
- package/lib/components/MultiMapDimensionSelect/MultiDimensionSelectMapButtonsConnect.d.ts +2 -0
- package/lib/components/MultiMapView/MultiMapView.stories.d.ts +2 -0
- package/lib/components/MultiMapView/MultiMapView10x10.stories.d.ts +2 -0
- package/lib/components/MultiMapView/MultiMapViewConnect.d.ts +1 -1
- package/lib/components/Providers/Providers.d.ts +1 -1
- package/lib/components/ReactMapView/ReactMapView.d.ts +8 -9
- package/lib/components/ReactMapView/ReactMapViewParseLayer.d.ts +2 -2
- package/lib/components/ReactMapView/types.d.ts +6 -17
- package/lib/components/TimeSlider/TimeSliderButtons/PlayButton/PlayButtonConnect.d.ts +3 -3
- package/lib/components/TimeSlider/TimeSliderButtons/SpeedButton/SpeedButton.d.ts +0 -2
- package/lib/components/TimeSlider/TimeSliderLegend/TimeSliderLegendRenderFunctions.d.ts +1 -1
- package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRail.d.ts +4 -4
- package/lib/components/TimeSlider/TimeSliderRail/TimeSliderRailRenderFunctions.d.ts +1 -1
- package/lib/components/TimeSlider/TimeSliderUtils.d.ts +10 -1
- package/lib/components/ToggleIconButton/ToggleIconButton.d.ts +6 -3
- package/lib/components/TooltipSelect/TooltipSelect.d.ts +2 -2
- package/lib/index.d.ts +2 -1
- package/lib/store/coreModuleConfig.d.ts +1 -1
- package/lib/store/layerSelect/actions.d.ts +30 -0
- package/lib/store/layerSelect/config.d.ts +4 -0
- package/lib/store/layerSelect/constants.d.ts +5 -0
- package/lib/store/layerSelect/reducer.d.ts +3 -0
- package/lib/store/layerSelect/reducer.spec.d.ts +1 -0
- package/lib/store/layerSelect/sagas.d.ts +6 -0
- package/lib/store/layerSelect/sagas.spec.d.ts +1 -0
- package/lib/store/layerSelect/selectors.d.ts +34 -0
- package/lib/store/layerSelect/selectors.spec.d.ts +1 -0
- package/lib/store/layerSelect/types.d.ts +61 -0
- package/lib/store/mapStore/layers/actions.d.ts +2 -1
- package/lib/store/mapStore/layers/constants.d.ts +1 -0
- package/lib/store/mapStore/layers/selectors.d.ts +14 -5
- package/lib/store/mapStore/layers/types.d.ts +44 -20
- package/lib/store/mapStore/map/actions.d.ts +12 -5
- package/lib/store/mapStore/map/constants.d.ts +1 -0
- package/lib/store/mapStore/map/reducer.d.ts +7 -0
- package/lib/store/mapStore/map/sagas.d.ts +2 -2
- package/lib/store/mapStore/map/selectors.d.ts +20 -12
- package/lib/store/mapStore/map/types.d.ts +19 -7
- package/lib/store/mapStore/service/actions.d.ts +1 -8
- package/lib/store/mapStore/service/constants.d.ts +0 -1
- package/lib/store/mapStore/service/selectors.d.ts +35 -5
- package/lib/store/mapStore/service/types.d.ts +12 -16
- package/lib/store/mapStore/utils/helpers.d.ts +4 -3
- package/lib/store/ui/actions.d.ts +2 -2
- package/lib/store/ui/types.d.ts +2 -1
- package/lib/storybookUtils/HelperComponents.d.ts +1 -1
- package/lib/storybookUtils/storyComponents/MapDrawGeoJSON.d.ts +5 -5
- package/lib/storybookUtils/storyComponents/MapDrawGeoJSONStyles.d.ts +2 -1
- package/lib/types/types.d.ts +2 -1
- package/lib/utils/__mocks__/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -0
- package/lib/utils/defaultTestSettings.d.ts +69 -190
- package/lib/utils/getCapabilities.d.ts +6 -0
- package/lib/utils/testUtils.d.ts +2 -2
- package/package.json +14 -15
- package/lib/components/SyncGroups/ConfigurableConnectedMap.d.ts +0 -19
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export * from './MapView.Error.stories';
|
|
3
|
-
export * from './MapView.
|
|
3
|
+
export * from './MapView.MapPin.stories';
|
|
4
4
|
export * from './MapView.Passive.stories';
|
|
5
5
|
export * from './MapView.RadarAnimation.stories';
|
|
6
6
|
export * from './MapView.RadarData.stories';
|
|
7
7
|
export * from './MapView.SetProjectionBBox.stories';
|
|
8
8
|
export * from './MapView.SetProjectionBBoxLocalState.stories';
|
|
9
|
+
export * from './MapView.ShowLayerInfo.stories';
|
|
9
10
|
declare const _default: {
|
|
10
11
|
title: string;
|
|
11
12
|
component: import("react").FC<import("./types").MapViewProps>;
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import * as mapActions from '../../store/mapStore/actions';
|
|
3
|
+
import { Layer } from '../../store/mapStore/types';
|
|
4
|
+
export interface LayerChangeOpacityInputProps {
|
|
5
|
+
mapId: string;
|
|
6
|
+
layerChangeOpacity: typeof mapActions.layerChangeOpacity;
|
|
7
|
+
layers: Layer[];
|
|
8
|
+
}
|
|
2
9
|
export declare const LayerChangeEnableOpacityAction: () => React.ReactElement;
|
|
@@ -5,9 +5,13 @@ export interface MapViewConnectProps {
|
|
|
5
5
|
controls?: {
|
|
6
6
|
zoomControls?: boolean;
|
|
7
7
|
};
|
|
8
|
+
displayMapPin?: boolean;
|
|
8
9
|
showScaleBar?: boolean;
|
|
9
10
|
children?: React.ReactNode;
|
|
11
|
+
showLayerInfo?: boolean;
|
|
10
12
|
}
|
|
13
|
+
export declare const ORIGIN_REACTMAPVIEWCONNECT_ONMAPCHANGEDIMENSION = "ORIGIN_REACTMAPVIEWCONNECT_ONMAPCHANGEDIMENSION";
|
|
14
|
+
export declare const ORIGIN_REACTMAPVIEWCONNECT_ONUPDATELAYERINFO = "ORIGIN_REACTMAPVIEWCONNECT_ONUPDATELAYERINFO";
|
|
11
15
|
/**
|
|
12
16
|
* Connected component used to display the map and selected layers.
|
|
13
17
|
* Includes options to disable the map controls and legend.
|
|
@@ -16,10 +20,10 @@ export interface MapViewConnectProps {
|
|
|
16
20
|
* @param {string} mapId mapId: string - Id of the map
|
|
17
21
|
* @param {object} [controls.zoomControls] **optional** controls: object - toggle the map controls, zoomControls defaults to true
|
|
18
22
|
* @param {boolean} [displayTimeInMap] **optional** displayTimeInMap: boolean, toggles the mapTime, defaults to true
|
|
23
|
+
* @param {boolean} [displayMapPin] **optional** displayMapPin: boolean, toggle the display of pin on click, defaults to false
|
|
24
|
+
* @param {boolean} [showScaleBar] **optional** showScaleBar: boolean, toggles the scaleBar, defaults to true
|
|
19
25
|
* @example
|
|
20
|
-
* ```<MapViewConnect mapId={mapId} />```
|
|
21
|
-
* @example
|
|
22
|
-
* ```<MapViewConnect mapId={mapId} controls={{ zoomControls: false }} displayTimeInMap={false} />```
|
|
26
|
+
* ```<MapViewConnect mapId={mapId} controls={{ zoomControls: false }} displayTimeInMap={false} showScaleBar={false}/>```
|
|
23
27
|
*/
|
|
24
28
|
declare const MapViewConnect: React.FC<MapViewConnectProps>;
|
|
25
29
|
export default MapViewConnect;
|
|
@@ -8,6 +8,7 @@ export * from './MapViewConnect.LayerChangeEnabledOpacity.stories';
|
|
|
8
8
|
export * from './MapViewConnect.SetBaseLayers.stories';
|
|
9
9
|
export * from './MapViewConnect.ToggleControls.stories';
|
|
10
10
|
export * from './MapViewConnect.FeatureLayers.stories';
|
|
11
|
+
export * from './MapViewConnect.MapPin.stories';
|
|
11
12
|
declare const _default: {
|
|
12
13
|
title: string;
|
|
13
14
|
component: import("react").FC<import("./MapViewConnect").MapViewConnectProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { TooltipProps } from '@material
|
|
2
|
+
import { TooltipProps } from '@mui/material';
|
|
3
3
|
import { ToggleIconButtonProps } from '../ToggleIconButton/ToggleIconButton';
|
|
4
4
|
interface MapControlButtonProps extends ToggleIconButtonProps {
|
|
5
5
|
onClick: () => void;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { Source } from '../../store/ui/types';
|
|
2
3
|
interface DimensionSelectMapButtonProps {
|
|
3
4
|
mapId: string;
|
|
4
5
|
dimension: string;
|
|
6
|
+
source?: Source;
|
|
5
7
|
}
|
|
6
8
|
declare const DimensionSelectMapButtonConnect: React.FC<DimensionSelectMapButtonProps>;
|
|
7
9
|
export default DimensionSelectMapButtonConnect;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { Source } from '../../store/ui/types';
|
|
2
3
|
interface DimensionSelectDialogConnectProps {
|
|
3
4
|
mapId: string;
|
|
4
5
|
dimensionName: string;
|
|
@@ -7,6 +8,7 @@ interface DimensionSelectDialogConnectProps {
|
|
|
7
8
|
onMouseDown?: () => void;
|
|
8
9
|
onToggleDialog?: (isDialogOpen: boolean) => void;
|
|
9
10
|
index?: number;
|
|
11
|
+
source?: Source;
|
|
10
12
|
}
|
|
11
13
|
declare const DimensionSelectDialogConnect: React.FC<DimensionSelectDialogConnectProps>;
|
|
12
14
|
export default DimensionSelectDialogConnect;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const DimensionSelectElevationLight: {
|
|
3
|
+
(): React.ReactElement;
|
|
4
|
+
storyName: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const DimensionSelectElevationDark: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
storyName: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const DimensionSelectEnsembleMemberLight: {
|
|
11
|
+
(): React.ReactElement;
|
|
12
|
+
storyName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const DimensionSelectEnsembleMemberDark: {
|
|
15
|
+
(): React.ReactElement;
|
|
16
|
+
storyName: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const DimensionSelectInvalidSyncLight: {
|
|
19
|
+
(): React.ReactElement;
|
|
20
|
+
storyName: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const DimensionSelectInvalidSyncDark: {
|
|
23
|
+
(): React.ReactElement;
|
|
24
|
+
storyName: string;
|
|
25
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './MultiMapMultiDimensionSelect.stories';
|
|
2
2
|
export * from './EnsembleDimensionExample.stories';
|
|
3
3
|
export * from './MultiDimensionSelectConnect.stories';
|
|
4
|
+
export * from './DimensionSelectDialogConnect.stories';
|
|
4
5
|
declare const _default: {
|
|
5
6
|
title: string;
|
|
6
7
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { Source } from '../../store/ui/types';
|
|
2
3
|
interface MultiDimensionSelectMapButtonsConnectProps {
|
|
3
4
|
mapId: string;
|
|
5
|
+
source?: Source;
|
|
4
6
|
}
|
|
5
7
|
declare const MultiDimensionSelectMapButtonsConnect: React.FC<MultiDimensionSelectMapButtonsConnectProps>;
|
|
6
8
|
export default MultiDimensionSelectMapButtonsConnect;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { MultiMapViewStory2x2 } from './MultiMapView2x2.stories';
|
|
2
2
|
import { MultiMapViewStory4x3 } from './MultiMapView4x3.stories';
|
|
3
|
+
import { MultiMapViewStory10x10 } from './MultiMapView10x10.stories';
|
|
3
4
|
export { MultiMapViewStory2x2 };
|
|
4
5
|
export { MultiMapViewStory4x3 };
|
|
6
|
+
export { MultiMapViewStory10x10 };
|
|
5
7
|
declare const _default: {
|
|
6
8
|
title: string;
|
|
7
9
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Bbox, Layer } from '../../store/mapStore/types';
|
|
3
|
-
export declare const useStyles: (props?: any) => import("@
|
|
3
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"box" | "zoomControls">;
|
|
4
4
|
export interface MultiMapPreset {
|
|
5
5
|
title?: string;
|
|
6
6
|
layers: Layer[];
|
|
@@ -18,6 +18,8 @@ export declare const isAMapLayer: (layer: Layer) => boolean;
|
|
|
18
18
|
* @param layer The Layer object, or the props from the ReactWMJSLayer
|
|
19
19
|
*/
|
|
20
20
|
export declare const isAGeoJSONLayer: (layer: Layer) => boolean;
|
|
21
|
+
export declare const ORIGIN_REACTMAPVIEW_ONMAPCHANGEDIMENSION = "ORIGIN_REACTMAPVIEW_ONMAPCHANGEDIMENSION";
|
|
22
|
+
export declare const ORIGIN_REACTMAPVIEW_ONUPDATELAYERINFO = "ORIGIN_REACTMAPVIEW_ONUPDATELAYERINFO";
|
|
21
23
|
interface ReactMapViewState {
|
|
22
24
|
adagucInitialised: boolean;
|
|
23
25
|
}
|
|
@@ -41,7 +43,6 @@ declare class ReactMapView extends React.Component<ReactMapViewProps, ReactMapVi
|
|
|
41
43
|
adagucWebMapJSRef: any;
|
|
42
44
|
refetchTimer: any;
|
|
43
45
|
static defaultProps: {
|
|
44
|
-
xml2jsonrequestURL: string;
|
|
45
46
|
srs: string;
|
|
46
47
|
bbox: {
|
|
47
48
|
left: number;
|
|
@@ -50,29 +51,27 @@ declare class ReactMapView extends React.Component<ReactMapViewProps, ReactMapVi
|
|
|
50
51
|
top: number;
|
|
51
52
|
};
|
|
52
53
|
shouldAutoFetch: boolean;
|
|
53
|
-
|
|
54
|
+
displayMapPin: boolean;
|
|
54
55
|
onMount: () => void;
|
|
55
56
|
onUnMount: () => void;
|
|
56
57
|
onMapChangeDimension: () => void;
|
|
57
|
-
|
|
58
|
-
onLayerChangeStyle: () => void;
|
|
59
|
-
onLayerChangeDimension: () => void;
|
|
60
|
-
onLayerSetDimensions: () => void;
|
|
61
|
-
onServiceSetLayers: () => void;
|
|
62
|
-
onLayerSetStyles: () => void;
|
|
58
|
+
onUpdateLayerInformation: () => void;
|
|
63
59
|
onMapZoomEnd: () => void;
|
|
64
60
|
};
|
|
65
61
|
constructor(props: ReactMapViewProps);
|
|
66
62
|
componentDidMount(): void;
|
|
67
63
|
componentDidUpdate: (prevProps: ReactMapViewProps) => void;
|
|
68
64
|
componentWillUnmount(): void;
|
|
65
|
+
onDimChangeListener(): void;
|
|
66
|
+
onAfterSetBBoxListener(wmjsMap: WMJSMap): void;
|
|
67
|
+
onUpdateBBoxListener(newBbox: WMBBOX): void;
|
|
69
68
|
onStartRefetchTimer: () => void;
|
|
70
69
|
getWMJSLayerFromReactLayer(wmLayers: WMLayer[], reactWebMapJSLayer: React.ReactElement, index: number): {
|
|
71
70
|
layer: WMLayer;
|
|
72
71
|
layerArrayMutated: boolean;
|
|
73
72
|
};
|
|
74
73
|
clearRefetchTimer: () => void;
|
|
75
|
-
parseWMJSLayer: (wmLayer: WMLayer, forceReload: boolean,
|
|
74
|
+
parseWMJSLayer: (wmLayer: WMLayer, forceReload: boolean, child?: React.ReactElement) => void;
|
|
76
75
|
checkNewProps(prevProps: ReactMapViewProps, props: ReactMapViewProps): void;
|
|
77
76
|
drawDebounced(): void;
|
|
78
77
|
handleWindowResize(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WMLayer, WMJSMap } from '@opengeoweb/webmap';
|
|
2
|
-
import {
|
|
2
|
+
import { UpdateLayerInfoPayload } from '../../store/mapStore/types';
|
|
3
3
|
import { MapViewProps } from '../MapView/types';
|
|
4
4
|
export declare const ORIGIN_REACTMAPVIEWPARSELAYER = "ReactMapViewParseLayer";
|
|
5
|
-
export declare const setServiceMetadata: (wmLayer: WMLayer, mapId: string,
|
|
5
|
+
export declare const setServiceMetadata: (wmLayer: WMLayer, mapId: string, webMapJSInstance: WMJSMap, mapProperties: MapViewProps, onUpdateLayerInformation?: (payload: UpdateLayerInfoPayload) => void) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WMJSMap } from '@opengeoweb/webmap';
|
|
3
|
-
import { SetMapDimensionPayload,
|
|
3
|
+
import { SetMapDimensionPayload, Dimension, SetBboxPayload, Bbox, MapPinLocationPayload, MapLocation, UpdateLayerInfoPayload } from '../../store/mapStore/types';
|
|
4
4
|
export interface ReactMapViewProps {
|
|
5
5
|
listeners?: {
|
|
6
6
|
name?: string;
|
|
@@ -20,26 +20,15 @@ export interface ReactMapViewProps {
|
|
|
20
20
|
animationDelay?: number;
|
|
21
21
|
dimensions?: Dimension[];
|
|
22
22
|
onClick?: () => void;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
mapCursorLocation?: {
|
|
26
|
-
lon: number;
|
|
27
|
-
lat: number;
|
|
28
|
-
};
|
|
23
|
+
displayMapPin?: boolean;
|
|
24
|
+
mapPinLocation?: MapLocation;
|
|
29
25
|
shouldAutoFetch?: boolean;
|
|
26
|
+
showLayerInfo?: boolean;
|
|
30
27
|
onMount?: (mapId: string, WMJSMapInstance: WMJSMap) => void;
|
|
31
28
|
onUnMount?: (mapId: string, WMJSMapInstance: WMJSMap) => void;
|
|
32
29
|
onMapChangeDimension?: (payload: SetMapDimensionPayload) => void;
|
|
33
|
-
onMapUpdateAllDimensions?: (payload: UpdateAllMapDimensionsPayload) => void;
|
|
34
|
-
onLayerChangeStyle?: (payload: SetLayerStylePayload) => void;
|
|
35
|
-
onLayerChangeDimension?: (payload: SetLayerDimensionPayload) => void;
|
|
36
|
-
onServiceSetLayers?: (payload: SetLayersForServicePayload) => void;
|
|
37
|
-
onLayerSetStyles?: (payload: SetLayerStylesForServicePayload) => void;
|
|
38
30
|
onMapZoomEnd?: (payload: SetBboxPayload) => void;
|
|
39
31
|
onRegisterAdaguc?: (WMJSMapInstance: WMJSMap) => void;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
lon: number;
|
|
43
|
-
lat: number;
|
|
44
|
-
}) => void;
|
|
32
|
+
onMapPinChangeLocation?: (payload: MapPinLocationPayload) => void;
|
|
33
|
+
onUpdateLayerInformation?: (payload: UpdateLayerInfoPayload) => void;
|
|
45
34
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Moment } from 'moment';
|
|
3
2
|
import * as mapActions from '../../../../store/mapStore/actions';
|
|
3
|
+
export declare const animationIntervalDefault = 5;
|
|
4
4
|
export interface PlayButtonConnectProps {
|
|
5
5
|
mapId: string;
|
|
6
6
|
isAnimating?: boolean;
|
|
7
|
-
animationStartTime?:
|
|
8
|
-
animationEndTime?:
|
|
7
|
+
animationStartTime?: string;
|
|
8
|
+
animationEndTime?: string;
|
|
9
9
|
isDisabled?: boolean;
|
|
10
10
|
mapStartAnimation?: typeof mapActions.mapStartAnimation;
|
|
11
11
|
mapStopAnimation?: typeof mapActions.mapStopAnimation;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Theme } from '@material
|
|
1
|
+
import { Theme } from '@mui/material';
|
|
2
2
|
import { Scale } from '../../../store/mapStore/types';
|
|
3
3
|
export declare const getRoundedStartAndEnd: (visibleTimeStart: number, visibleTimeEnd: number, scale: Scale) => [number, number];
|
|
4
4
|
export declare const getCustomRoundedStartAndEnd: (visibleTimeStart: number, visibleTimeEnd: number, unit: string) => [number, number];
|
|
@@ -6,15 +6,15 @@ interface TimeSliderRailProps {
|
|
|
6
6
|
secondsPerPx: number;
|
|
7
7
|
selectedTime?: moment.Moment;
|
|
8
8
|
timeStep?: number;
|
|
9
|
-
animationStartTime?:
|
|
10
|
-
animationEndTime?:
|
|
9
|
+
animationStartTime?: string;
|
|
10
|
+
animationEndTime?: string;
|
|
11
11
|
currentTime?: number;
|
|
12
12
|
dataStartTime?: number;
|
|
13
13
|
dataEndTime?: number;
|
|
14
14
|
isTimeSliderHoverOn?: boolean;
|
|
15
15
|
scale?: Scale;
|
|
16
|
-
onSetAnimationStartTime?: (time:
|
|
17
|
-
onSetAnimationEndTime?: (time:
|
|
16
|
+
onSetAnimationStartTime?: (time: string) => void;
|
|
17
|
+
onSetAnimationEndTime?: (time: string) => void;
|
|
18
18
|
onSetNewDate?: (newDate: string) => void;
|
|
19
19
|
onSetCenterTime?: (newTime: number) => void;
|
|
20
20
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Theme } from '@material
|
|
1
|
+
import { Theme } from '@mui/material';
|
|
2
2
|
import { Scale } from '../../../store/mapStore/types';
|
|
3
3
|
export declare const renderTimeSliderRailWithNeedle: (ctx: CanvasRenderingContext2D, theme: Theme, width: number, height: number, centerTime: number, selected: number, secondsPerPx: number, scale: Scale, animationStart?: number, animationEnd?: number, dataStartTime?: number, dataEndTime?: number, currentTime?: number) => void;
|
|
@@ -4,11 +4,18 @@ import { DateInterval } from '@opengeoweb/webmap';
|
|
|
4
4
|
import { Dimension, Layer, Scale } from '../../store/mapStore/types';
|
|
5
5
|
import CanvasComponent from '../CanvasComponent/CanvasComponent';
|
|
6
6
|
export declare const defaultAnimationDelayAtStart = 250;
|
|
7
|
+
export declare const defaultDelay = 1000;
|
|
8
|
+
export declare const speedFactors: SpeedFactorType[];
|
|
9
|
+
export declare type SpeedFactorType = 0.1 | 0.2 | 0.5 | 1 | 2 | 4 | 8 | 16;
|
|
7
10
|
export interface TimeBounds {
|
|
8
11
|
selectedTime: number;
|
|
9
12
|
startTime: number;
|
|
10
13
|
endTime: number;
|
|
11
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* Returns speed delay for given speedFactor. For options, see defined above in "speedFactors"
|
|
17
|
+
*/
|
|
18
|
+
export declare const getSpeedDelay: (speedFactor: SpeedFactorType) => number;
|
|
12
19
|
/**
|
|
13
20
|
* Returns time bounds from the given dimension. If no time dimension given, current time is returned as default
|
|
14
21
|
*/
|
|
@@ -30,7 +37,9 @@ export declare const onsetNewDateDebounced: (dateToSet: string, onSetNewDate: (n
|
|
|
30
37
|
export declare const roundWithTimeStep: (unixTime: number, timeStep: number, type?: string) => number;
|
|
31
38
|
export declare const setNewRoundedTime: (x: number, centerTime: number, width: number, secondsPerPx: number, timeStep: number, dataStartTime: number, dataEndTime: number, onSetNewDate: (newDate: string) => void) => void;
|
|
32
39
|
export declare const getDataLimitsFromLayers: (layers: Layer[]) => Array<number>;
|
|
33
|
-
export declare const
|
|
40
|
+
export declare const getNextTimeStepvalue: (value: number, max: number) => number;
|
|
41
|
+
export declare const getPreviousTimeStepvalue: (value: number, min: number) => number;
|
|
42
|
+
export declare const getValueFromKeyboardEvent: (event: React.KeyboardEvent<HTMLInputElement>, value: number, min: number, max: number, supportFourDirectionNavigation?: boolean) => number;
|
|
34
43
|
export declare const getTimeStepFromDataInterval: (timeInterval: DateInterval) => number;
|
|
35
44
|
export declare const getActiveLayerTimeStep: (timeDimension: Dimension) => number | null;
|
|
36
45
|
/**
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ToggleButtonProps } from '@material
|
|
3
|
-
export declare const useButtonStyles: (props:
|
|
4
|
-
|
|
2
|
+
import { ToggleButtonProps } from '@mui/material';
|
|
3
|
+
export declare const useButtonStyles: (props: {
|
|
4
|
+
width: number;
|
|
5
|
+
}) => import("@mui/styles").ClassNameMap<"button">;
|
|
6
|
+
export interface ToggleIconButtonProps extends Omit<ToggleButtonProps, 'value'> {
|
|
5
7
|
active?: boolean;
|
|
6
8
|
width?: number;
|
|
9
|
+
value?: unknown;
|
|
7
10
|
}
|
|
8
11
|
declare const ToggleIconButton: React.FC<ToggleIconButtonProps>;
|
|
9
12
|
export default ToggleIconButton;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { SelectProps } from '@material
|
|
3
|
-
export declare const useStyles: (props?: any) => import("@
|
|
2
|
+
import { SelectProps } from '@mui/material';
|
|
3
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"select">;
|
|
4
4
|
declare type ListELement = {
|
|
5
5
|
value: string;
|
|
6
6
|
};
|
package/lib/index.d.ts
CHANGED
|
@@ -23,8 +23,9 @@ export { TimeSliderConnect } from './components/TimeSlider';
|
|
|
23
23
|
export { MapControls } from './components/Mapcontrols';
|
|
24
24
|
export { mapActions, mapSelectors, mapTypes, mapConstants, mapUtils, layerReducer, uiActions, uiTypes, syncGroupActions, };
|
|
25
25
|
export { synchronizationGroupConfig as synchronizationGroupModuleConfig };
|
|
26
|
+
export * from './components/ComponentsLookUp';
|
|
26
27
|
export * from './components/ConfigurableMapWithSlider';
|
|
27
|
-
export { ConfigurableConnectedMap } from './components/
|
|
28
|
+
export { ConfigurableConnectedMap } from './components/ConfigurableConnectedMap';
|
|
28
29
|
export * from './store/mapStore/utils/helpers';
|
|
29
30
|
export { TooltipSelect };
|
|
30
31
|
export { SyncGroupViewerConnect } from './components/SyncGroups/SyncGroupViewerConnect';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const coreModuleConfig: (import("redux-dynamic-modules-saga").ISagaModule<import("./mapStore/types").WebMapStateModuleState> | import("redux-dynamic-modules-saga").ISagaModule<import("./generic/synchronizationGroups/types").SynchronizationGroupModuleState> | import("redux-dynamic-modules-saga").ISagaModule<import("./ui/types").UIModuleState>)[];
|
|
1
|
+
declare const coreModuleConfig: (import("redux-dynamic-modules-saga").ISagaModule<import("./mapStore/types").WebMapStateModuleState> | import("redux-dynamic-modules-saga").ISagaModule<import("./generic/synchronizationGroups/types").SynchronizationGroupModuleState> | import("redux-dynamic-modules-saga").ISagaModule<import("./ui/types").UIModuleState> | import("redux-dynamic-modules-saga").ISagaModule<import("./layerSelect/types").LayerSelectModuleState>)[];
|
|
2
2
|
export default coreModuleConfig;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { LayerSelectActions, SetSearchFilterPayload, SetActiveServicesPayload, AddNewKeywordsPayload, EnableActiveServicePayload, DisableActiveServicePayload } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Sets the given text to the searchFilter
|
|
4
|
+
*
|
|
5
|
+
* Example: setSearchFilter({ filterText: 'hello world' })
|
|
6
|
+
* @param {string} payload { filterText: string }
|
|
7
|
+
*/
|
|
8
|
+
export declare const setSearchFilter: (payload: SetSearchFilterPayload) => LayerSelectActions;
|
|
9
|
+
/**
|
|
10
|
+
* Sets the given array of string as active services
|
|
11
|
+
*
|
|
12
|
+
* Example: setActiveServices({ activeServices: ['service-1', 'service-2'] })
|
|
13
|
+
* @param {string} payload { activeServices: string[] }
|
|
14
|
+
*/
|
|
15
|
+
export declare const setActiveServices: (payload: SetActiveServicesPayload) => LayerSelectActions;
|
|
16
|
+
/**
|
|
17
|
+
* Activates given service in the activeServices array
|
|
18
|
+
*
|
|
19
|
+
* Example: enableActiveService({ serviceId: 'service-1' })
|
|
20
|
+
* @param {string} payload { serviceId: string }
|
|
21
|
+
*/
|
|
22
|
+
export declare const enableActiveService: (payload: EnableActiveServicePayload) => LayerSelectActions;
|
|
23
|
+
/**
|
|
24
|
+
* Disables given service in the activeServices array
|
|
25
|
+
*
|
|
26
|
+
* Example: disableActiveService({ serviceId: 'service-1' })
|
|
27
|
+
* @param {string} payload { serviceId: string }
|
|
28
|
+
*/
|
|
29
|
+
export declare const disableActiveService: (payload: DisableActiveServicePayload) => LayerSelectActions;
|
|
30
|
+
export declare const addNewKeywords: (payload: AddNewKeywordsPayload) => LayerSelectActions;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const LAYER_SELECT_SET_SEARCH_FILTER = "LAYER_SELECT_SET_SEARCH_FILTER";
|
|
2
|
+
export declare const LAYER_SELECT_SET_ACTIVE_SERVICES = "LAYER_SELECT_SET_ACTIVE_SERVICES";
|
|
3
|
+
export declare const LAYER_SELECT_DISABLE_ACTIVE_SERVICE = "LAYER_SELECT_DISABLE_ACTIVE_SERVICE";
|
|
4
|
+
export declare const LAYER_SELECT_ENABLE_ACTIVE_SERVICE = "LAYER_SELECT_ENABLE_ACTIVE_SERVICE";
|
|
5
|
+
export declare const LAYER_SELECT_ADD_NEW_KEYWORDS = "LAYER_SELECT_ADD_NEW_KEYWORDS";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SagaIterator } from 'redux-saga';
|
|
2
|
+
import { ServiceActions } from '../mapStore/types';
|
|
3
|
+
export declare function newServiceAddedSagaUpdateKeywords(capturedAction: ServiceActions): SagaIterator;
|
|
4
|
+
export declare function newServiceAddedSagaUpdateActiveServices(): SagaIterator;
|
|
5
|
+
export declare function rootSaga(): SagaIterator;
|
|
6
|
+
export default rootSaga;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AppStore } from '../../types/types';
|
|
2
|
+
import { KeywordObject, LayerSelectStoreType, ServiceObject } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Returns search filter string
|
|
5
|
+
*
|
|
6
|
+
* Example getSearchFilter(store);
|
|
7
|
+
* @param {object} store store: object - store object
|
|
8
|
+
* @returns {array} returnType: string
|
|
9
|
+
*/
|
|
10
|
+
export declare const getSearchFilter: import("reselect").OutputSelector<AppStore, string, (res: LayerSelectStoreType) => string>;
|
|
11
|
+
/**
|
|
12
|
+
* Returns active services array
|
|
13
|
+
*
|
|
14
|
+
* Example getActiveServices(store);
|
|
15
|
+
* @param {object} store store: object - store object
|
|
16
|
+
* @returns {array} returnType: array of active services
|
|
17
|
+
*/
|
|
18
|
+
export declare const getActiveServices: import("reselect").OutputSelector<AppStore, ServiceObject[], (res: LayerSelectStoreType) => ServiceObject[]>;
|
|
19
|
+
/**
|
|
20
|
+
* Returns all ids of enabled services
|
|
21
|
+
*
|
|
22
|
+
* Example getEnabledServiceIds(store);
|
|
23
|
+
* @param {object} store store: object - store object
|
|
24
|
+
* @returns {array} returnType: array of service ids that are enabled
|
|
25
|
+
*/
|
|
26
|
+
export declare const getEnabledServiceIds: import("reselect").OutputSelector<AppStore, string[], (res: LayerSelectStoreType) => string[]>;
|
|
27
|
+
/**
|
|
28
|
+
* Returns all keywords
|
|
29
|
+
*
|
|
30
|
+
* Example getKeywords(store);
|
|
31
|
+
* @param {object} store store: object - store object
|
|
32
|
+
* @returns {array} returnType: array of keyword objects
|
|
33
|
+
*/
|
|
34
|
+
export declare const getKeywords: import("reselect").OutputSelector<AppStore, KeywordObject[], (res: LayerSelectStoreType) => KeywordObject[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Action } from 'redux';
|
|
2
|
+
import { LAYER_SELECT_ADD_NEW_KEYWORDS, LAYER_SELECT_SET_SEARCH_FILTER, LAYER_SELECT_SET_ACTIVE_SERVICES, LAYER_SELECT_ENABLE_ACTIVE_SERVICE, LAYER_SELECT_DISABLE_ACTIVE_SERVICE } from './constants';
|
|
3
|
+
export interface ServiceObject {
|
|
4
|
+
id: string;
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface FiltersType {
|
|
8
|
+
searchFilter: string;
|
|
9
|
+
activeServices: ServiceObject[];
|
|
10
|
+
keywords: KeywordObject[];
|
|
11
|
+
addedServices: string[];
|
|
12
|
+
}
|
|
13
|
+
export interface KeywordObject {
|
|
14
|
+
id: string;
|
|
15
|
+
amount: number;
|
|
16
|
+
amountVisible: number;
|
|
17
|
+
checked: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface LayerSelectStoreType {
|
|
20
|
+
filters: FiltersType;
|
|
21
|
+
}
|
|
22
|
+
export interface LayerSelectModuleState {
|
|
23
|
+
layerSelect?: LayerSelectStoreType;
|
|
24
|
+
}
|
|
25
|
+
export interface SetSearchFilterPayload {
|
|
26
|
+
filterText: string;
|
|
27
|
+
}
|
|
28
|
+
export interface SetSearchFilter extends Action {
|
|
29
|
+
type: typeof LAYER_SELECT_SET_SEARCH_FILTER;
|
|
30
|
+
payload: SetSearchFilterPayload;
|
|
31
|
+
}
|
|
32
|
+
export interface SetActiveServicesPayload {
|
|
33
|
+
activeServices: string[];
|
|
34
|
+
}
|
|
35
|
+
export interface SetActiveServices extends Action {
|
|
36
|
+
type: typeof LAYER_SELECT_SET_ACTIVE_SERVICES;
|
|
37
|
+
payload: SetActiveServicesPayload;
|
|
38
|
+
}
|
|
39
|
+
export interface EnableActiveServicePayload {
|
|
40
|
+
service: string;
|
|
41
|
+
}
|
|
42
|
+
export interface EnableActiveService extends Action {
|
|
43
|
+
type: typeof LAYER_SELECT_ENABLE_ACTIVE_SERVICE;
|
|
44
|
+
payload: EnableActiveServicePayload;
|
|
45
|
+
}
|
|
46
|
+
export interface DisableActiveServicePayload {
|
|
47
|
+
service: string;
|
|
48
|
+
}
|
|
49
|
+
export interface DisableActiveService extends Action {
|
|
50
|
+
type: typeof LAYER_SELECT_DISABLE_ACTIVE_SERVICE;
|
|
51
|
+
payload: DisableActiveServicePayload;
|
|
52
|
+
}
|
|
53
|
+
export interface AddNewKeywordsPayload {
|
|
54
|
+
serviceName: string;
|
|
55
|
+
keywords: string[];
|
|
56
|
+
}
|
|
57
|
+
export interface AddNewKeywords extends Action {
|
|
58
|
+
type: typeof LAYER_SELECT_ADD_NEW_KEYWORDS;
|
|
59
|
+
payload: AddNewKeywordsPayload;
|
|
60
|
+
}
|
|
61
|
+
export declare type LayerSelectActions = SetSearchFilter | SetActiveServices | EnableActiveService | DisableActiveService | AddNewKeywords;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SetLayerOpacityPayload, SetLayerEnabledPayload, SetLayerDimensionPayload, SetLayerNamePayload, SetLayerStylePayload, LayerActions, AddLayerPayload, DeleteLayerPayload, SetLayersPayload, SetBaseLayersPayload, AddBaseLayerPayload, ErrorLayerPayload, AddAvailableBaseLayerPayload, AddAvailableBaseLayersPayload, SetLayerDimensionsPayload } from './types';
|
|
1
|
+
import { SetLayerOpacityPayload, SetLayerEnabledPayload, SetLayerDimensionPayload, SetLayerNamePayload, SetLayerStylePayload, LayerActions, AddLayerPayload, DeleteLayerPayload, SetLayersPayload, SetBaseLayersPayload, AddBaseLayerPayload, ErrorLayerPayload, AddAvailableBaseLayerPayload, AddAvailableBaseLayersPayload, SetLayerDimensionsPayload, UpdateLayerInfoPayload } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Set the layers for a map. Erases all previous layers.
|
|
4
4
|
* The following action types are triggered after the getCapabilities are parsed:
|
|
@@ -124,3 +124,4 @@ export declare const addAvailableBaseLayer: (payload: AddAvailableBaseLayerPaylo
|
|
|
124
124
|
* @param {object} payload Object with a layer
|
|
125
125
|
*/
|
|
126
126
|
export declare const addAvailableBaseLayers: (payload: AddAvailableBaseLayersPayload) => LayerActions;
|
|
127
|
+
export declare const onUpdateLayerInformation: (payload: UpdateLayerInfoPayload) => LayerActions;
|