@opengeoweb/store 14.4.0 → 14.5.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.
- package/index.esm.js +2188 -2205
- package/package.json +6 -6
- package/src/store/drawingTool/listener.d.ts +2 -2
- package/src/store/drawingTool/reducer.d.ts +2 -2
- package/src/store/drawingTool/reducer.spec.d.ts +1 -1
- package/src/store/generic/actions.d.ts +1 -1
- package/src/store/generic/hooks.d.ts +1 -1
- package/src/store/generic/index.d.ts +1 -1
- package/src/store/generic/listener.d.ts +1 -1
- package/src/store/generic/loadingIndicator/reducer.d.ts +2 -2
- package/src/store/generic/loadingIndicator/selectors.d.ts +1 -1
- package/src/store/generic/loadingIndicator/types.d.ts +1 -1
- package/src/store/generic/syncGroups/__mocks__/mockState.d.ts +1 -1
- package/src/store/generic/syncGroups/listener.d.ts +1 -1
- package/src/store/generic/syncGroups/reducer.d.ts +2 -2
- package/src/store/generic/syncGroups/selector.d.ts +2 -2
- package/src/store/generic/syncGroups/selectors.d.ts +1 -1
- package/src/store/generic/syncGroups/types.d.ts +5 -4
- package/src/store/generic/syncGroups/utils.d.ts +4 -4
- package/src/store/generic/synchronizationActions/types.d.ts +2 -2
- package/src/store/generic/types.d.ts +2 -2
- package/src/store/map/layer/listeners.d.ts +1 -1
- package/src/store/map/layer/reducer.d.ts +3 -3
- package/src/store/map/layer/selectors.d.ts +2 -1
- package/src/store/map/layer/types.d.ts +6 -6
- package/src/store/map/layer/utils.d.ts +2 -2
- package/src/store/map/map/actions.d.ts +1 -1
- package/src/store/map/map/filterLayers.d.ts +1 -1
- package/src/store/map/map/listener.d.ts +2 -2
- package/src/store/map/map/metronomeListener.d.ts +1 -1
- package/src/store/map/map/olMapListenerAnimationUtils.d.ts +3 -3
- package/src/store/map/map/reducer.d.ts +4 -4
- package/src/store/map/map/replaceLayerIdsToEnsureUniqueLayerIdsInStore.d.ts +1 -1
- package/src/store/map/map/selectors.d.ts +3 -3
- package/src/store/map/map/types.d.ts +4 -4
- package/src/store/map/map/utils.d.ts +5 -5
- package/src/store/map/service/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +2 -2
- package/src/store/map/service/index.d.ts +1 -1
- package/src/store/map/service/listener.d.ts +2 -2
- package/src/store/map/service/localStorage.d.ts +1 -1
- package/src/store/map/service/reducer.d.ts +3 -3
- package/src/store/map/service/selectors.d.ts +2 -2
- package/src/store/map/service/types.d.ts +2 -2
- package/src/store/map/storeTestSettings.d.ts +3 -2
- package/src/store/map/storeTestUtils.d.ts +3 -3
- package/src/store/map/types.d.ts +4 -4
- package/src/store/mapStore/openlayers/listener.d.ts +1 -1
- package/src/store/router/listener.d.ts +1 -1
- package/src/store/router/reducer.d.ts +3 -3
- package/src/store/router/utils.d.ts +1 -1
- package/src/store/ui/reducer.d.ts +2 -2
- package/src/store/ui/selectors.d.ts +1 -1
- package/src/store/ui/types.d.ts +1 -0
- package/src/store/unifyReducerMaps.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/store",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.5.0",
|
|
4
4
|
"description": "GeoWeb Store library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opengeoweb/shared": "14.
|
|
11
|
+
"@opengeoweb/shared": "14.5.0",
|
|
12
12
|
"react-redux": "^9.2.0",
|
|
13
13
|
"@reduxjs/toolkit": "^2.6.1",
|
|
14
|
-
"@opengeoweb/webmap-react": "14.
|
|
15
|
-
"@opengeoweb/webmap": "14.
|
|
14
|
+
"@opengeoweb/webmap-react": "14.5.0",
|
|
15
|
+
"@opengeoweb/webmap": "14.5.0",
|
|
16
16
|
"immer": "^10.0.3",
|
|
17
17
|
"lodash": "^4.17.21",
|
|
18
|
-
"@opengeoweb/metronome": "14.
|
|
19
|
-
"@opengeoweb/time-slider": "14.
|
|
18
|
+
"@opengeoweb/metronome": "14.5.0",
|
|
19
|
+
"@opengeoweb/time-slider": "14.5.0",
|
|
20
20
|
"react-router-dom": "^6.23.1",
|
|
21
21
|
"ol": "^10.4.0",
|
|
22
22
|
"@turf/turf": "^7.2.0",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DrawtoolModuleStore } from './reducer';
|
|
2
|
-
import { WebMapStateModuleState } from '../map';
|
|
1
|
+
import type { DrawtoolModuleStore } from './reducer';
|
|
2
|
+
import type { WebMapStateModuleState } from '../map';
|
|
3
3
|
export declare const drawingToolListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<DrawtoolModuleStore & WebMapStateModuleState, import("redux-thunk").ThunkDispatch<DrawtoolModuleStore & WebMapStateModuleState, unknown, import("redux").UnknownAction>, unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PayloadAction, Draft, EntityState } from '@reduxjs/toolkit';
|
|
2
|
-
import { DrawMode, MapDrawToolOptions } from '@opengeoweb/webmap-react';
|
|
1
|
+
import type { PayloadAction, Draft, EntityState } from '@reduxjs/toolkit';
|
|
2
|
+
import type { DrawMode, MapDrawToolOptions } from '@opengeoweb/webmap-react';
|
|
3
3
|
export interface DrawToolItem {
|
|
4
4
|
drawToolId: string;
|
|
5
5
|
geoJSONLayerId: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PotentialData } from './syncGroups/types';
|
|
1
|
+
import type { PotentialData } from './syncGroups/types';
|
|
2
2
|
export declare const useUpdateSharedData: (data: PotentialData, panelId?: string) => PotentialData;
|
|
@@ -21,5 +21,5 @@ export declare const genericActions: {
|
|
|
21
21
|
export * as genericSelectors from './selectors';
|
|
22
22
|
export * from './hooks';
|
|
23
23
|
export * from './syncGroups';
|
|
24
|
-
export * as genericTypes from './types';
|
|
24
|
+
export type * as genericTypes from './types';
|
|
25
25
|
export * from './loadingIndicator';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SynchronizationGroupModuleState } from './syncGroups/types';
|
|
1
|
+
import type { SynchronizationGroupModuleState } from './syncGroups/types';
|
|
2
2
|
export declare const genericListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<SynchronizationGroupModuleState, import("redux-thunk").ThunkDispatch<SynchronizationGroupModuleState, unknown, import("redux").UnknownAction>, unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PayloadAction, EntityState } from '@reduxjs/toolkit';
|
|
2
|
-
import { LoadingIndicatorType, SetIsEDRLoadingPayload, SetIsGetCapabilitiesLoadingPayload, SetIsGetMapLoadingPayload } from './types';
|
|
1
|
+
import type { PayloadAction, EntityState } from '@reduxjs/toolkit';
|
|
2
|
+
import type { LoadingIndicatorType, SetIsEDRLoadingPayload, SetIsGetCapabilitiesLoadingPayload, SetIsGetMapLoadingPayload } from './types';
|
|
3
3
|
export declare const loadingIndicatorAdapter: import("@reduxjs/toolkit").EntityAdapter<LoadingIndicatorType, string>;
|
|
4
4
|
export declare const slice: import("@reduxjs/toolkit").Slice<EntityState<LoadingIndicatorType, string>, {
|
|
5
5
|
setGetMapIsLoading: (draft: EntityState<LoadingIndicatorType, string>, action: PayloadAction<SetIsGetMapLoadingPayload>) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LoadingIndicatorModuleState, LoadingIndicatorType } from './types';
|
|
1
|
+
import type { LoadingIndicatorModuleState, LoadingIndicatorType } from './types';
|
|
2
2
|
export declare const selectLoadingIndicatorById: (state: LoadingIndicatorModuleState, id: string) => {
|
|
3
3
|
id: string;
|
|
4
4
|
getMapLoadingPercentage: number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SynchronizationGroupState } from '../types';
|
|
1
|
+
import type { SynchronizationGroupState } from '../types';
|
|
2
2
|
export declare const createSyncGroupMockState: () => SynchronizationGroupState;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SynchronizationGroupModuleState } from './types';
|
|
1
|
+
import type { SynchronizationGroupModuleState } from './types';
|
|
2
2
|
export declare const syncGroupsListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<SynchronizationGroupModuleState, import("redux-thunk").ThunkDispatch<SynchronizationGroupModuleState, unknown, import("redux").UnknownAction>, unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
2
|
-
import { SynchronizationGroupState, SyncGroupAddTargetPayload, SyncGroupAddGroupPayload, SyncGroupRemoveTargetPayload, SyncGroupRemoveGroupPayload, SyncGroupSetViewStatePayload, SyncGroupLinkTargetPayload, SyncGroupRemoveSourcePayload, SyncGroupsAddSourcePayload, SyncGroupToggleIsTimeScrollingEnabled, UpdateLinkedMap, AddSharedData, DeleteSharedData, SetLinkedMap } from './types';
|
|
1
|
+
import type { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
2
|
+
import type { SynchronizationGroupState, SyncGroupAddTargetPayload, SyncGroupAddGroupPayload, SyncGroupRemoveTargetPayload, SyncGroupRemoveGroupPayload, SyncGroupSetViewStatePayload, SyncGroupLinkTargetPayload, SyncGroupRemoveSourcePayload, SyncGroupsAddSourcePayload, SyncGroupToggleIsTimeScrollingEnabled, UpdateLinkedMap, AddSharedData, DeleteSharedData, SetLinkedMap } from './types';
|
|
3
3
|
export declare const initialState: SynchronizationGroupState;
|
|
4
4
|
export declare const slice: import("@reduxjs/toolkit").Slice<SynchronizationGroupState, {
|
|
5
5
|
/** Sets the links map.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { SyncGroupViewState, SynchronizationGroups, SynchronizationSources, SyncType } from './types';
|
|
2
|
+
import type { CoreAppStore } from '../../types';
|
|
3
3
|
export declare const groupTypes: {
|
|
4
4
|
title: string;
|
|
5
5
|
syncType: SyncType;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { SyncGroupTarget, SynchronizationGroup, SynchronizationGroupState, SynchronizationSource, SyncType } from './types';
|
|
1
2
|
import type { CoreAppStore } from '../../types';
|
|
2
3
|
import type { GenericSyncActionPayload } from '../synchronizationActions/types';
|
|
3
4
|
import type { GenericActionPayload } from '../types';
|
|
4
|
-
import type { SyncGroupTarget, SynchronizationGroup, SynchronizationGroupState, SynchronizationSource, SyncType } from './types';
|
|
5
5
|
export declare const syncGroupStore: (store: CoreAppStore) => SynchronizationGroupState;
|
|
6
6
|
/**
|
|
7
7
|
* Gets synchronization group state
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { SystemScope } from '@opengeoweb/shared';
|
|
2
|
-
import { MapFeatureClass } from '@opengeoweb/webmap-react';
|
|
3
|
-
import { LoadingIndicatorModuleState } from '../loadingIndicator/types';
|
|
1
|
+
import type { SystemScope } from '@opengeoweb/shared';
|
|
2
|
+
import type { MapFeatureClass } from '@opengeoweb/webmap-react';
|
|
3
|
+
import type { LoadingIndicatorModuleState } from '../loadingIndicator/types';
|
|
4
4
|
import type { GenericActionPayload } from '../types';
|
|
5
|
-
import {
|
|
5
|
+
import type { SYNCGROUPS_TYPE_SETLAYERACTIONS } from './constants';
|
|
6
|
+
import { SYNCGROUPS_TYPE_SETBBOX, SYNCGROUPS_TYPE_SETTIME } from './constants';
|
|
6
7
|
export interface Group {
|
|
7
8
|
id: string;
|
|
8
9
|
selected: string[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AddLayerPayload, DeleteLayerPayload, MoveLayerPayload, SetAutoLayerIdPayload, SetBaseLayersPayload } from '../../map/types';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { SyncType } from './types';
|
|
2
|
+
import type { AddLayerPayload, DeleteLayerPayload, MoveLayerPayload, SetAutoLayerIdPayload, SetBaseLayersPayload } from '../../map/types';
|
|
3
|
+
import type { CoreAppStore } from '../../types';
|
|
4
|
+
import type { SyncLayerPayloads, LayerActionPayloadsWithLayerIds } from '../types';
|
|
5
5
|
interface FoundTargets {
|
|
6
6
|
payload: SyncLayerPayloads;
|
|
7
7
|
targetId: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { setBbox, setTime } from '../actions';
|
|
2
|
-
import { SyncLayerPayloads } from '../types';
|
|
1
|
+
import type { setBbox, setTime } from '../actions';
|
|
2
|
+
import type { SyncLayerPayloads } from '../types';
|
|
3
3
|
export interface SetTimeSyncProps {
|
|
4
4
|
currentTime?: string;
|
|
5
5
|
timeSliderCenterTime?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SetLayerStylePayload } from '@opengeoweb/webmap-react';
|
|
2
|
-
import { MapActionOrigin } from '../map/map/enums';
|
|
1
|
+
import type { SetLayerStylePayload } from '@opengeoweb/webmap-react';
|
|
2
|
+
import type { MapActionOrigin } from '../map/map/enums';
|
|
3
3
|
import type { AddLayerPayload, DeleteLayerPayload, MoveLayerPayload, SetAutoLayerIdPayload, SetBaseLayersPayload, SetLayerDimensionPayload, SetLayerEnabledPayload, SetLayerNamePayload, SetLayerOpacityPayload } from '../map/types';
|
|
4
4
|
import type { SetTimeSyncProps } from './synchronizationActions/types';
|
|
5
5
|
export interface SetTimePayload {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CoreAppStore } from '../../types';
|
|
1
|
+
import type { CoreAppStore } from '../../types';
|
|
2
2
|
export declare const layersListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<CoreAppStore, import("redux-thunk").ThunkDispatch<CoreAppStore, unknown, import("redux").UnknownAction>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Draft, PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
-
import { SetLayerDimensionsPayload, SetLayerStylePayload, UpdateLayerInfoPayload } from '@opengeoweb/webmap-react';
|
|
3
|
-
import { LayerState, Layer, AddLayerPayload, SetLayerDimensionPayload, SetLayerEnabledPayload, SetLayerOpacityPayload, SetLayerNamePayload, SetLayerGeojsonPayload, DeleteLayerPayload, ErrorLayerPayload, SetLayersPayload, SetBaseLayersPayload, AddBaseLayerPayload, AddAvailableBaseLayerPayload, AddAvailableBaseLayersPayload, SetAvailableBaseLayersPayload, SetSelectedFeaturePayload, UpdateFeaturePayload, ExitFeatureDrawModePayload, ToggleFeatureModePayload, UpdateFeaturePropertiesPayload, DuplicateMapLayerPayload, ShowLayerInfoPayload, SetLayerGeojsonFromLayerPayload, SetLayerOptionsPayload } from './types';
|
|
1
|
+
import type { Draft, PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import type { SetLayerDimensionsPayload, SetLayerStylePayload, UpdateLayerInfoPayload } from '@opengeoweb/webmap-react';
|
|
3
|
+
import type { LayerState, Layer, AddLayerPayload, SetLayerDimensionPayload, SetLayerEnabledPayload, SetLayerOpacityPayload, SetLayerNamePayload, SetLayerGeojsonPayload, DeleteLayerPayload, ErrorLayerPayload, SetLayersPayload, SetBaseLayersPayload, AddBaseLayerPayload, AddAvailableBaseLayerPayload, AddAvailableBaseLayersPayload, SetAvailableBaseLayersPayload, SetSelectedFeaturePayload, UpdateFeaturePayload, ExitFeatureDrawModePayload, ToggleFeatureModePayload, UpdateFeaturePropertiesPayload, DuplicateMapLayerPayload, ShowLayerInfoPayload, SetLayerGeojsonFromLayerPayload, SetLayerOptionsPayload } from './types';
|
|
4
4
|
export declare const createLayer: ({ id, opacity, acceptanceTimeInMinutes, enabled, layerType, status, useLatestReferenceTime, ...props }: Layer) => Layer;
|
|
5
5
|
export declare const initialState: LayerState;
|
|
6
6
|
export declare const slice: import("@reduxjs/toolkit").Slice<LayerState, {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { LayerType } from '@opengeoweb/webmap';
|
|
2
2
|
import type { CoreAppStore } from '../../types';
|
|
3
3
|
import type { Dimension, ReduxLayer } from '../types';
|
|
4
|
-
import { LayerState, Layer
|
|
4
|
+
import type { LayerState, Layer } from './types';
|
|
5
|
+
import { LayerStatus } from './types';
|
|
5
6
|
/**
|
|
6
7
|
* Gets a layer from the layers part of the store by its Id
|
|
7
8
|
*
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Action } from '@reduxjs/toolkit';
|
|
2
|
-
import { FeatureCollection } from 'geojson';
|
|
3
|
-
import { LayerFoundation } from '@opengeoweb/webmap';
|
|
4
|
-
import { UpdateLayerInfoPayload } from '@opengeoweb/webmap-react';
|
|
5
|
-
import type { Dimension } from '../map/types';
|
|
1
|
+
import type { Action } from '@reduxjs/toolkit';
|
|
2
|
+
import type { FeatureCollection } from 'geojson';
|
|
3
|
+
import type { LayerFoundation } from '@opengeoweb/webmap';
|
|
4
|
+
import type { UpdateLayerInfoPayload } from '@opengeoweb/webmap-react';
|
|
6
5
|
import type { SyncGroupActionOrigin } from '../../generic/syncGroups/types';
|
|
7
|
-
import { uiTypes } from '../../ui';
|
|
6
|
+
import type { uiTypes } from '../../ui';
|
|
7
|
+
import type { Dimension } from '../map/types';
|
|
8
8
|
export declare enum LayerStatus {
|
|
9
9
|
default = "default",
|
|
10
10
|
error = "error"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Draft } from '@reduxjs/toolkit';
|
|
2
|
-
import { WMJSDimension } from '@opengeoweb/webmap';
|
|
1
|
+
import type { Draft } from '@reduxjs/toolkit';
|
|
2
|
+
import type { WMJSDimension } from '@opengeoweb/webmap';
|
|
3
3
|
import type { Dimension, ReduxLayer } from '../types';
|
|
4
4
|
import type { LayerState } from './types';
|
|
5
5
|
export declare const isActionLayerSynced: (state: LayerState, layerIdFromAction: string, dimension: Dimension) => boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SetMapDimensionPayload } from '@opengeoweb/webmap-react';
|
|
1
|
+
import type { SetMapDimensionPayload } from '@opengeoweb/webmap-react';
|
|
2
2
|
import type { SetMapPresetPayload } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* These actions causes circular dependency if they are defined in the reducer.ts file.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { layerTypes } from '../layer';
|
|
1
|
+
import type { layerTypes } from '../layer';
|
|
2
2
|
export declare const filterLayers: (layers?: layerTypes.Layer[], layerParser?: (layer: layerTypes.Layer) => layerTypes.Layer) => FilteredLayerList;
|
|
3
3
|
export declare const createEmtpyFilteredList: (existingList: []) => FilteredLayerList;
|
|
4
4
|
export interface FilteredLayerList {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UnknownAction, ThunkDispatch } from '@reduxjs/toolkit';
|
|
2
|
-
import { WebMapStateModuleState } from '../types';
|
|
1
|
+
import type { UnknownAction, ThunkDispatch } from '@reduxjs/toolkit';
|
|
2
|
+
import type { WebMapStateModuleState } from '../types';
|
|
3
3
|
export declare const isAnimationEndTimeValid: (animationEndTime: string) => boolean;
|
|
4
4
|
export declare const mapListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<WebMapStateModuleState, ThunkDispatch<WebMapStateModuleState, unknown, UnknownAction>, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CoreAppStore } from '../../types';
|
|
1
|
+
import type { CoreAppStore } from '../../types';
|
|
2
2
|
export declare const metronomeListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<CoreAppStore, import("redux-thunk").ThunkDispatch<CoreAppStore, unknown, import("redux").UnknownAction>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Dispatch, ListenerEffectAPI } from '@reduxjs/toolkit';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { Dispatch, ListenerEffectAPI } from '@reduxjs/toolkit';
|
|
2
|
+
import type { CoreAppStore } from '../../types';
|
|
3
|
+
import type { ReduxLayer } from '../types';
|
|
4
4
|
/**
|
|
5
5
|
* Returns the next step for given timerId.
|
|
6
6
|
* @param timerId The timer id
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
2
|
-
import { MapPinLocationPayload, SetBboxPayload, SetStepBackWardOrForward, UpdateAllMapDimensionsPayload } from '@opengeoweb/webmap-react';
|
|
1
|
+
import type { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
2
|
+
import type { MapPinLocationPayload, SetBboxPayload, SetStepBackWardOrForward, UpdateAllMapDimensionsPayload } from '@opengeoweb/webmap-react';
|
|
3
3
|
import type { WebMapState, SetAutoLayerIdPayload, SetMapAnimationStartPayload, SetMapAnimationStopPayload, SetTimeSliderSpanPayload, SetTimeStepPayload, SetAnimationStartTimePayload, SetAnimationEndTimePayload, SetAnimationDelayPayload, MoveLayerPayload, SetTimeSliderWidthPayload, SetTimeSliderCenterTimePayload, SetEndTimeOverriding, ToggleAutoUpdatePayload, ToggleTimestepAutoPayload, ToggleTimeSpanAutoPayload, ToggleTimeSliderHoverPayload, DisableMapPinPayload, ToggleTimeSliderIsVisiblePayload, SetDockedLayerManagerSize, ToggleAnimationLengthAutoPayload, SetDefaultMapSettingsPayload } from './types';
|
|
4
|
-
import { ToggleMapPinIsVisiblePayload, ToggleZoomControlsPayload } from '../types';
|
|
5
|
-
import { MapActionOrigin } from './enums';
|
|
4
|
+
import type { ToggleMapPinIsVisiblePayload, ToggleZoomControlsPayload } from '../types';
|
|
5
|
+
import type { MapActionOrigin } from './enums';
|
|
6
6
|
/**
|
|
7
7
|
* Checks if the layer id is already taken in one of the maps.
|
|
8
8
|
* @param state The WebMapState
|
|
@@ -2081,8 +2081,8 @@ export declare const getMapPreset: ((state: CoreAppStore & uiTypes.UIModuleState
|
|
|
2081
2081
|
resultsCount: () => number;
|
|
2082
2082
|
resetResultsCount: () => void;
|
|
2083
2083
|
} & {
|
|
2084
|
-
resultFunc: (resultFuncArgs_0: ReduxLayer[], resultFuncArgs_1: ReduxLayer[], resultFuncArgs_2: ReduxLayer[], resultFuncArgs_3: Bbox, resultFuncArgs_4: string, resultFuncArgs_5: string | undefined, resultFuncArgs_6: string | undefined, resultFuncArgs_7: string | undefined, resultFuncArgs_8: boolean, resultFuncArgs_9: boolean, resultFuncArgs_10: boolean | undefined, resultFuncArgs_11: boolean | undefined, resultFuncArgs_12: boolean | undefined, resultFuncArgs_13: number, resultFuncArgs_14: number | undefined, resultFuncArgs_15: string | undefined, resultFuncArgs_16: string | undefined, resultFuncArgs_17: number | undefined, resultFuncArgs_18: Dimension[] | undefined, resultFuncArgs_19: boolean | undefined, resultFuncArgs_20: boolean | undefined, resultFuncArgs_21: string | undefined, resultFuncArgs_22: uiTypes.UIStoreType, resultFuncArgs_23: string, resultFuncArgs_24:
|
|
2085
|
-
memoizedResultFunc: ((resultFuncArgs_0: ReduxLayer[], resultFuncArgs_1: ReduxLayer[], resultFuncArgs_2: ReduxLayer[], resultFuncArgs_3: Bbox, resultFuncArgs_4: string, resultFuncArgs_5: string | undefined, resultFuncArgs_6: string | undefined, resultFuncArgs_7: string | undefined, resultFuncArgs_8: boolean, resultFuncArgs_9: boolean, resultFuncArgs_10: boolean | undefined, resultFuncArgs_11: boolean | undefined, resultFuncArgs_12: boolean | undefined, resultFuncArgs_13: number, resultFuncArgs_14: number | undefined, resultFuncArgs_15: string | undefined, resultFuncArgs_16: string | undefined, resultFuncArgs_17: number | undefined, resultFuncArgs_18: Dimension[] | undefined, resultFuncArgs_19: boolean | undefined, resultFuncArgs_20: boolean | undefined, resultFuncArgs_21: string | undefined, resultFuncArgs_22: uiTypes.UIStoreType, resultFuncArgs_23: string, resultFuncArgs_24:
|
|
2084
|
+
resultFunc: (resultFuncArgs_0: ReduxLayer[], resultFuncArgs_1: ReduxLayer[], resultFuncArgs_2: ReduxLayer[], resultFuncArgs_3: Bbox, resultFuncArgs_4: string, resultFuncArgs_5: string | undefined, resultFuncArgs_6: string | undefined, resultFuncArgs_7: string | undefined, resultFuncArgs_8: boolean, resultFuncArgs_9: boolean, resultFuncArgs_10: boolean | undefined, resultFuncArgs_11: boolean | undefined, resultFuncArgs_12: boolean | undefined, resultFuncArgs_13: number, resultFuncArgs_14: number | undefined, resultFuncArgs_15: string | undefined, resultFuncArgs_16: string | undefined, resultFuncArgs_17: number | undefined, resultFuncArgs_18: Dimension[] | undefined, resultFuncArgs_19: boolean | undefined, resultFuncArgs_20: boolean | undefined, resultFuncArgs_21: string | undefined, resultFuncArgs_22: uiTypes.UIStoreType, resultFuncArgs_23: string, resultFuncArgs_24: string) => MapPreset;
|
|
2085
|
+
memoizedResultFunc: ((resultFuncArgs_0: ReduxLayer[], resultFuncArgs_1: ReduxLayer[], resultFuncArgs_2: ReduxLayer[], resultFuncArgs_3: Bbox, resultFuncArgs_4: string, resultFuncArgs_5: string | undefined, resultFuncArgs_6: string | undefined, resultFuncArgs_7: string | undefined, resultFuncArgs_8: boolean, resultFuncArgs_9: boolean, resultFuncArgs_10: boolean | undefined, resultFuncArgs_11: boolean | undefined, resultFuncArgs_12: boolean | undefined, resultFuncArgs_13: number, resultFuncArgs_14: number | undefined, resultFuncArgs_15: string | undefined, resultFuncArgs_16: string | undefined, resultFuncArgs_17: number | undefined, resultFuncArgs_18: Dimension[] | undefined, resultFuncArgs_19: boolean | undefined, resultFuncArgs_20: boolean | undefined, resultFuncArgs_21: string | undefined, resultFuncArgs_22: uiTypes.UIStoreType, resultFuncArgs_23: string, resultFuncArgs_24: string) => MapPreset) & {
|
|
2086
2086
|
clearCache: () => void;
|
|
2087
2087
|
resultsCount: () => number;
|
|
2088
2088
|
resetResultsCount: () => void;
|
|
@@ -2628,7 +2628,7 @@ export declare const getMapPreset: ((state: CoreAppStore & uiTypes.UIModuleState
|
|
|
2628
2628
|
} & {
|
|
2629
2629
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
2630
2630
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2631
|
-
}, (store: uiTypes.UIModuleState) => uiTypes.UIStoreType, (_store: CoreAppStore, mapId: string) => string, (_store: CoreAppStore, _mapId: string, keepAllDims?: any) =>
|
|
2631
|
+
}, (store: uiTypes.UIModuleState) => uiTypes.UIStoreType, (_store: CoreAppStore, mapId: string) => string, (_store: CoreAppStore, _mapId: string, keepAllDims?: any) => string];
|
|
2632
2632
|
recomputations: () => number;
|
|
2633
2633
|
resetRecomputations: () => void;
|
|
2634
2634
|
dependencyRecomputations: () => number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { SpeedFactorType } from '@opengeoweb/time-slider';
|
|
2
|
+
import type { TimeInterval } from '@opengeoweb/webmap';
|
|
3
|
+
import type { MapLocation } from '@opengeoweb/webmap-react';
|
|
4
4
|
import type { Layer, LayerActionOrigin } from '../types';
|
|
5
|
-
import { MapActionOrigin } from './enums';
|
|
5
|
+
import type { MapActionOrigin } from './enums';
|
|
6
6
|
export interface Dimension {
|
|
7
7
|
name?: string;
|
|
8
8
|
units?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SpeedFactorType } from '@opengeoweb/time-slider';
|
|
3
|
-
import {
|
|
4
|
-
import { Bbox, Dimension } from './types';
|
|
5
|
-
import type { WebMapState, WebMap, ISO8601Interval, WebMapAnimationList } from '../types';
|
|
1
|
+
import type { Draft } from 'immer';
|
|
2
|
+
import type { SpeedFactorType } from '@opengeoweb/time-slider';
|
|
3
|
+
import type { TimeInterval } from '@opengeoweb/webmap';
|
|
4
|
+
import type { Bbox, Dimension } from './types';
|
|
6
5
|
import type { Layer } from '../layer/types';
|
|
6
|
+
import type { WebMapState, WebMap, ISO8601Interval, WebMapAnimationList } from '../types';
|
|
7
7
|
export declare const dateFormat = "yyyy-MM-dd'T'HH:mm:ss'Z'";
|
|
8
8
|
export interface CreateMapProps {
|
|
9
9
|
id: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE WMT_MS_Capabilities SYSTEM \"http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd\" [\n <!ELEMENT VendorSpecificCapabilities EMPTY>\n]>\n<!-- end of DOCTYPE declaration -->\n<WMT_MS_Capabilities version=\"1.1.1\">\n <Service>\n <Name>OGC:WMS</Name>\n <Title>RADAR</Title>\n <Abstract>This service demonstrates how the ADAGUC server can be used to create OGC services.</Abstract>\n <ServerInfo>ADAGUCServer version 2.5.8, of Apr 13 2021 07:55:43</ServerInfo>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n <ContactInformation />\n </Service>\n <Capability>\n <Request>\n <GetCapabilities>\n <Format>application/vnd.ogc.wms_xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetCapabilities>\n <GetMap>\n <Format>image/png</Format>\n <Format>image/gif</Format>\n <Format>image/png32</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetMap>\n <GetFeatureInfo>\n <Format>text/plain</Format>\n <Format>text/html</Format>\n <Format>text/xml</Format>\n <Format>application/vnd.ogc.gml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetFeatureInfo>\n <DescribeLayer>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </DescribeLayer>\n <GetLegendGraphic>\n <Format>image/png</Format>\n <Format>image/gif</Format>\n <Format>image/png32</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetLegendGraphic>\n <GetStyles>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetStyles>\n </Request>\n <Exception>\n <Format>application/vnd.ogc.se_xml</Format>\n <Format>application/vnd.ogc.se_inimage</Format>\n <Format>application/vnd.ogc.se_blank</Format>\n </Exception>\n <VendorSpecificCapabilities />\n <UserDefinedSymbolization SupportSLD=\"1\" UserLayer=\"0\" UserStyle=\"1\" RemoteWFS=\"0\" />\n <Layer>\n <Title>WMS of RADAR</Title>\n <SRS>EPSG:3411</SRS>\n <SRS>EPSG:3412</SRS>\n <SRS>EPSG:3575</SRS>\n <SRS>EPSG:3857</SRS>\n <SRS>EPSG:4258</SRS>\n <SRS>EPSG:4326</SRS>\n <SRS>CRS:84</SRS>\n <SRS>EPSG:25831</SRS>\n <SRS>EPSG:25832</SRS>\n <SRS>EPSG:28992</SRS>\n <SRS>EPSG:7399</SRS>\n <SRS>EPSG:50001</SRS>\n <SRS>EPSG:54030</SRS>\n <SRS>EPSG:32661</SRS>\n <SRS>EPSG:40000</SRS>\n <SRS>EPSG:900913</SRS>\n <SRS>PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0</SRS>\n <Layer queryable=\"1\" opaque=\"1\" cascaded=\"0\">\n <Name>RAD_NL25_PCP_CM</Name>\n <Title>Precipitation Radar NL</Title>\n <Abstract>Radar NL</Abstract>\n <KeywordList>\n <Keyword>Radar</Keyword>\n </KeywordList>\n <SRS>EPSG:3411</SRS>\n <BoundingBox SRS=\"EPSG:3411\" minx=\"2682754.743620\" miny=\"-3245034.014141\" maxx=\"3759536.917562\" maxy=\"-2168251.989038\" />\n <SRS>EPSG:3412</SRS>\n <BoundingBox SRS=\"EPSG:3412\" minx=\"0.000000\" miny=\"32318824.826266\" maxx=\"7413041.166015\" maxy=\"40075258.815074\" />\n <SRS>EPSG:3575</SRS>\n <BoundingBox SRS=\"EPSG:3575\" minx=\"-770622.801471\" miny=\"-4485814.811314\" maxx=\"56845.766135\" maxy=\"-3684039.443620\" />\n <SRS>EPSG:3857</SRS>\n <BoundingBox SRS=\"EPSG:3857\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <SRS>EPSG:4258</SRS>\n <BoundingBox SRS=\"EPSG:4258\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>EPSG:4326</SRS>\n <BoundingBox SRS=\"EPSG:4326\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>CRS:84</SRS>\n <BoundingBox SRS=\"CRS:84\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>EPSG:25831</SRS>\n <BoundingBox SRS=\"EPSG:25831\" minx=\"282182.345905\" miny=\"5433247.394267\" maxx=\"997135.658653\" maxy=\"6207204.592736\" />\n <SRS>EPSG:25832</SRS>\n <BoundingBox SRS=\"EPSG:25832\" minx=\"-153083.019482\" miny=\"5415817.312927\" maxx=\"617595.626092\" maxy=\"6239769.309937\" />\n <SRS>EPSG:28992</SRS>\n <BoundingBox SRS=\"EPSG:28992\" minx=\"-236275.338083\" miny=\"106727.731651\" maxx=\"501527.918656\" maxy=\"900797.079725\" />\n <SRS>EPSG:7399</SRS>\n <BoundingBox SRS=\"EPSG:7399\" minx=\"0.000000\" miny=\"5757301.056717\" maxx=\"763611.971696\" maxy=\"6483919.801602\" />\n <SRS>EPSG:50001</SRS>\n <BoundingBox SRS=\"EPSG:50001\" minx=\"-2000000.000000\" miny=\"-2000000.000000\" maxx=\"10000000.000000\" maxy=\"8500000.000000\" />\n <SRS>EPSG:54030</SRS>\n <BoundingBox SRS=\"EPSG:54030\" minx=\"0.000000\" miny=\"5211855.054125\" maxx=\"853649.695106\" maxy=\"5936394.291427\" />\n <SRS>EPSG:32661</SRS>\n <BoundingBox SRS=\"EPSG:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\n <SRS>EPSG:40000</SRS>\n <BoundingBox SRS=\"EPSG:40000\" minx=\"0.000000\" miny=\"-4731695.771951\" maxx=\"750214.326339\" maxy=\"-3911817.119426\" />\n <SRS>EPSG:900913</SRS>\n <BoundingBox SRS=\"EPSG:900913\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <SRS>PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0</SRS>\n <BoundingBox SRS=\"PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0\" minx=\"0.000000\" miny=\"-3649.999338\" maxx=\"700.002420\" maxy=\"-4415.002986\" />\n <LatLonBoundingBox minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <Dimension name=\"time\" units=\"ISO8601\" />\n <Extent name=\"time\" default=\"2021-05-17T00:00:00Z\" multipleValues=\"1\" nearestValue=\"0\">2021-03-31T09:25:00Z/2021-05-18T07:45:00Z/PT5M</Extent>\n <Style>\n <Name>radar/nearest</Name>\n <Title>radar/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=radar/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-rainbow/nearest</Name>\n <Title>precip-rainbow/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-rainbow/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-gray/nearest</Name>\n <Title>precip-gray/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-gray/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-blue/nearest</Name>\n <Title>precip-blue/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-blue/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-blue-transparent/nearest</Name>\n <Title>precip-blue-transparent/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-blue-transparent/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-with-range/nearest</Name>\n <Title>precip-with-range/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-with-range/nearest\" />\n </LegendURL>\n </Style>\n <ScaleHint min=\"0\" max=\"10000\" />\n </Layer>\n </Layer>\n </Capability>\n</WMT_MS_Capabilities>";
|
|
2
|
-
export default
|
|
1
|
+
declare const xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE WMT_MS_Capabilities SYSTEM \"http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd\" [\n <!ELEMENT VendorSpecificCapabilities EMPTY>\n]>\n<!-- end of DOCTYPE declaration -->\n<WMT_MS_Capabilities version=\"1.1.1\">\n <Service>\n <Name>OGC:WMS</Name>\n <Title>RADAR</Title>\n <Abstract>This service demonstrates how the ADAGUC server can be used to create OGC services.</Abstract>\n <ServerInfo>ADAGUCServer version 2.5.8, of Apr 13 2021 07:55:43</ServerInfo>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n <ContactInformation />\n </Service>\n <Capability>\n <Request>\n <GetCapabilities>\n <Format>application/vnd.ogc.wms_xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetCapabilities>\n <GetMap>\n <Format>image/png</Format>\n <Format>image/gif</Format>\n <Format>image/png32</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetMap>\n <GetFeatureInfo>\n <Format>text/plain</Format>\n <Format>text/html</Format>\n <Format>text/xml</Format>\n <Format>application/vnd.ogc.gml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetFeatureInfo>\n <DescribeLayer>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </DescribeLayer>\n <GetLegendGraphic>\n <Format>image/png</Format>\n <Format>image/gif</Format>\n <Format>image/png32</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetLegendGraphic>\n <GetStyles>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetStyles>\n </Request>\n <Exception>\n <Format>application/vnd.ogc.se_xml</Format>\n <Format>application/vnd.ogc.se_inimage</Format>\n <Format>application/vnd.ogc.se_blank</Format>\n </Exception>\n <VendorSpecificCapabilities />\n <UserDefinedSymbolization SupportSLD=\"1\" UserLayer=\"0\" UserStyle=\"1\" RemoteWFS=\"0\" />\n <Layer>\n <Title>WMS of RADAR</Title>\n <SRS>EPSG:3411</SRS>\n <SRS>EPSG:3412</SRS>\n <SRS>EPSG:3575</SRS>\n <SRS>EPSG:3857</SRS>\n <SRS>EPSG:4258</SRS>\n <SRS>EPSG:4326</SRS>\n <SRS>CRS:84</SRS>\n <SRS>EPSG:25831</SRS>\n <SRS>EPSG:25832</SRS>\n <SRS>EPSG:28992</SRS>\n <SRS>EPSG:7399</SRS>\n <SRS>EPSG:50001</SRS>\n <SRS>EPSG:54030</SRS>\n <SRS>EPSG:32661</SRS>\n <SRS>EPSG:40000</SRS>\n <SRS>EPSG:900913</SRS>\n <SRS>PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0</SRS>\n <Layer queryable=\"1\" opaque=\"1\" cascaded=\"0\">\n <Name>RAD_NL25_PCP_CM</Name>\n <Title>Precipitation Radar NL</Title>\n <Abstract>Radar NL</Abstract>\n <KeywordList>\n <Keyword>Radar</Keyword>\n </KeywordList>\n <SRS>EPSG:3411</SRS>\n <BoundingBox SRS=\"EPSG:3411\" minx=\"2682754.743620\" miny=\"-3245034.014141\" maxx=\"3759536.917562\" maxy=\"-2168251.989038\" />\n <SRS>EPSG:3412</SRS>\n <BoundingBox SRS=\"EPSG:3412\" minx=\"0.000000\" miny=\"32318824.826266\" maxx=\"7413041.166015\" maxy=\"40075258.815074\" />\n <SRS>EPSG:3575</SRS>\n <BoundingBox SRS=\"EPSG:3575\" minx=\"-770622.801471\" miny=\"-4485814.811314\" maxx=\"56845.766135\" maxy=\"-3684039.443620\" />\n <SRS>EPSG:3857</SRS>\n <BoundingBox SRS=\"EPSG:3857\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <SRS>EPSG:4258</SRS>\n <BoundingBox SRS=\"EPSG:4258\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>EPSG:4326</SRS>\n <BoundingBox SRS=\"EPSG:4326\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>CRS:84</SRS>\n <BoundingBox SRS=\"CRS:84\" minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <SRS>EPSG:25831</SRS>\n <BoundingBox SRS=\"EPSG:25831\" minx=\"282182.345905\" miny=\"5433247.394267\" maxx=\"997135.658653\" maxy=\"6207204.592736\" />\n <SRS>EPSG:25832</SRS>\n <BoundingBox SRS=\"EPSG:25832\" minx=\"-153083.019482\" miny=\"5415817.312927\" maxx=\"617595.626092\" maxy=\"6239769.309937\" />\n <SRS>EPSG:28992</SRS>\n <BoundingBox SRS=\"EPSG:28992\" minx=\"-236275.338083\" miny=\"106727.731651\" maxx=\"501527.918656\" maxy=\"900797.079725\" />\n <SRS>EPSG:7399</SRS>\n <BoundingBox SRS=\"EPSG:7399\" minx=\"0.000000\" miny=\"5757301.056717\" maxx=\"763611.971696\" maxy=\"6483919.801602\" />\n <SRS>EPSG:50001</SRS>\n <BoundingBox SRS=\"EPSG:50001\" minx=\"-2000000.000000\" miny=\"-2000000.000000\" maxx=\"10000000.000000\" maxy=\"8500000.000000\" />\n <SRS>EPSG:54030</SRS>\n <BoundingBox SRS=\"EPSG:54030\" minx=\"0.000000\" miny=\"5211855.054125\" maxx=\"853649.695106\" maxy=\"5936394.291427\" />\n <SRS>EPSG:32661</SRS>\n <BoundingBox SRS=\"EPSG:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\n <SRS>EPSG:40000</SRS>\n <BoundingBox SRS=\"EPSG:40000\" minx=\"0.000000\" miny=\"-4731695.771951\" maxx=\"750214.326339\" maxy=\"-3911817.119426\" />\n <SRS>EPSG:900913</SRS>\n <BoundingBox SRS=\"EPSG:900913\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <SRS>PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0</SRS>\n <BoundingBox SRS=\"PROJ4:%2Bproj%3Dstere%20%2Blat_0%3D90%20%2Blon_0%3D0%20%2Blat_ts%3D60%20%2Ba%3D6378%2E14%20%2Bb%3D6356%2E75%20%2Bx_0%3D0%20y_0%3D0\" minx=\"0.000000\" miny=\"-3649.999338\" maxx=\"700.002420\" maxy=\"-4415.002986\" />\n <LatLonBoundingBox minx=\"0.000000\" miny=\"48.895303\" maxx=\"10.856452\" maxy=\"55.973600\" />\n <Dimension name=\"time\" units=\"ISO8601\" />\n <Extent name=\"time\" default=\"2021-05-17T00:00:00Z\" multipleValues=\"1\" nearestValue=\"0\">2021-03-31T09:25:00Z/2021-05-18T07:45:00Z/PT5M</Extent>\n <Style>\n <Name>radar/nearest</Name>\n <Title>radar/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=radar/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-rainbow/nearest</Name>\n <Title>precip-rainbow/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-rainbow/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-gray/nearest</Name>\n <Title>precip-gray/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-gray/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-blue/nearest</Name>\n <Title>precip-blue/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-blue/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-blue-transparent/nearest</Name>\n <Title>precip-blue-transparent/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-blue-transparent/nearest\" />\n </LegendURL>\n </Style>\n <Style>\n <Name>precip-with-range/nearest</Name>\n <Title>precip-with-range/nearest</Title>\n <LegendURL width=\"300\" height=\"400\">\n <Format>image/png</Format>\n <OnlineResource xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=RAD_NL25_PCP_CM&format=image/png&STYLE=precip-with-range/nearest\" />\n </LegendURL>\n </Style>\n <ScaleHint min=\"0\" max=\"10000\" />\n </Layer>\n </Layer>\n </Capability>\n</WMT_MS_Capabilities>";
|
|
2
|
+
export default xml;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { UnknownAction, ListenerEffectAPI, ThunkDispatch } from '@reduxjs/toolkit';
|
|
2
|
-
import { FetchInitialServicesPayload, SetLayersForServicePayload, WebMapStateModuleState } from '../types';
|
|
1
|
+
import type { UnknownAction, ListenerEffectAPI, ThunkDispatch } from '@reduxjs/toolkit';
|
|
2
|
+
import type { FetchInitialServicesPayload, SetLayersForServicePayload, WebMapStateModuleState } from '../types';
|
|
3
3
|
export declare const serviceListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<WebMapStateModuleState, ThunkDispatch<WebMapStateModuleState, unknown, UnknownAction>, unknown>;
|
|
4
4
|
export declare const fetchService: (service: SetLayersForServicePayload, listenerApi: ListenerEffectAPI<WebMapStateModuleState, ThunkDispatch<WebMapStateModuleState, unknown, UnknownAction>, unknown>) => Promise<void>;
|
|
5
5
|
export declare const fetchInitialServices: (payload: FetchInitialServicesPayload, listenerApi: ListenerEffectAPI<WebMapStateModuleState, ThunkDispatch<WebMapStateModuleState, unknown, UnknownAction>, unknown>) => Promise<void>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
2
|
-
import { FetchInitialServicesPayload, MapStoreRemoveServicePayload, ServiceState, SetLayersForServicePayload } from './types';
|
|
3
|
-
import { layerActions } from '../layer/reducer';
|
|
1
|
+
import type { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
2
|
+
import type { FetchInitialServicesPayload, MapStoreRemoveServicePayload, ServiceState, SetLayersForServicePayload } from './types';
|
|
3
|
+
import type { layerActions } from '../layer/reducer';
|
|
4
4
|
export declare const initialState: ServiceState;
|
|
5
5
|
export declare const serviceReducer: import("redux").Reducer<ServiceState>, serviceActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
6
6
|
serviceSetLayers: (draft: Draft<ServiceState>, action: PayloadAction<SetLayersForServicePayload>) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LayerProps, Style } from '@opengeoweb/webmap';
|
|
1
|
+
import type { LayerProps, Style } from '@opengeoweb/webmap';
|
|
2
|
+
import type { ServiceState, ReduxService } from './types';
|
|
2
3
|
import type { CoreAppStore } from '../../types';
|
|
3
|
-
import { ServiceState, ReduxService } from './types';
|
|
4
4
|
/**
|
|
5
5
|
* Retrieves all serviceIds
|
|
6
6
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ServiceInterface, SystemScope } from '@opengeoweb/shared';
|
|
2
|
-
import { LayerProps } from '@opengeoweb/webmap';
|
|
1
|
+
import type { ServiceInterface, SystemScope } from '@opengeoweb/shared';
|
|
2
|
+
import type { LayerProps } from '@opengeoweb/webmap';
|
|
3
3
|
export interface InitialService {
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Style
|
|
2
|
-
import {
|
|
1
|
+
import type { Style } from '@opengeoweb/webmap';
|
|
2
|
+
import { WMLayer } from '@opengeoweb/webmap';
|
|
3
|
+
import type { serviceTypes } from './service';
|
|
3
4
|
export declare const WmLayerWithoutTimeDimension: WMLayer, WmMultiDimensionLayer: WMLayer, layerWithoutTimeDimension: import("@opengeoweb/webmap").LayerOptions;
|
|
4
5
|
export declare const styleListForRADNLOPERR25PCPRRL3KNMILayer: Style[];
|
|
5
6
|
export declare const defaultReduxServices: serviceTypes.Services;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LayerType } from '@opengeoweb/webmap';
|
|
2
2
|
import type { CoreAppStore } from '../types';
|
|
3
|
-
import { layerTypes } from './layer';
|
|
4
|
-
import { mapTypes } from './map';
|
|
5
|
-
import { WebMapStateModuleState } from './types';
|
|
3
|
+
import type { layerTypes } from './layer';
|
|
4
|
+
import type { mapTypes } from './map';
|
|
5
|
+
import type { WebMapStateModuleState } from './types';
|
|
6
6
|
export declare const createLayersState: (layerId: string, props?: {}) => layerTypes.LayerState;
|
|
7
7
|
export declare const createMultipleLayersState: (layers: layerTypes.Layer[], mapId: string) => layerTypes.LayerState;
|
|
8
8
|
export declare const createWebmapState: (...mapIds: string[]) => mapTypes.WebMapState;
|
package/src/store/map/types.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { LayerState } from './layer/types';
|
|
2
|
-
import { WebMapState } from './map/types';
|
|
3
|
-
import { ServiceState } from './service/types';
|
|
1
|
+
import type { LayerState } from './layer/types';
|
|
2
|
+
import type { WebMapState } from './map/types';
|
|
3
|
+
import type { ServiceState } from './service/types';
|
|
4
4
|
export * from './map/types';
|
|
5
5
|
export * from './layer/types';
|
|
6
|
-
export * from './service/types';
|
|
6
|
+
export type * from './service/types';
|
|
7
7
|
export interface WebMapStateModuleState {
|
|
8
8
|
webmap?: WebMapState;
|
|
9
9
|
services?: ServiceState;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { WebMapStateModuleState } from '../../map/types';
|
|
1
|
+
import type { WebMapStateModuleState } from '../../map/types';
|
|
2
2
|
export declare const openlayersListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<WebMapStateModuleState, import("redux-thunk").ThunkDispatch<WebMapStateModuleState, unknown, import("redux").UnknownAction>, unknown>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RouterModuleStore } from './types';
|
|
1
|
+
import type { RouterModuleStore } from './types';
|
|
2
2
|
export declare const routerListener: import("@reduxjs/toolkit").ListenerMiddlewareInstance<RouterModuleStore, import("redux-thunk").ThunkDispatch<RouterModuleStore, unknown, import("redux").UnknownAction>, unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { NavigateBackOrForwardPayload, NavigateToUrlPayload } from './types';
|
|
1
|
+
import type { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import type { Draft } from 'immer';
|
|
3
|
+
import type { NavigateBackOrForwardPayload, NavigateToUrlPayload } from './types';
|
|
4
4
|
export declare const initialState: {};
|
|
5
5
|
export declare const routerReducer: import("redux").Reducer<{}>, routerActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
6
6
|
navigateToUrl: (_draft: Draft<unknown>, _action: PayloadAction<NavigateToUrlPayload>) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
2
|
-
import { DialogType, SetActiveMapIdForDialogPayload, SetActiveWindowIdPayload, Source, UIOrderDialogPayload, UIRegisterDialogPayload, UISetErrorPayload, UIStoreType, UIToggleDialogPayload, UIToggleIsLoadingPayload, UIType, UIUnRegisterDialogPayload } from './types';
|
|
1
|
+
import type { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
2
|
+
import type { DialogType, SetActiveMapIdForDialogPayload, SetActiveWindowIdPayload, Source, UIOrderDialogPayload, UIRegisterDialogPayload, UISetErrorPayload, UIStoreType, UIToggleDialogPayload, UIToggleIsLoadingPayload, UIType, UIUnRegisterDialogPayload } from './types';
|
|
3
3
|
interface CreateUIDialogElementProps {
|
|
4
4
|
activeMapId: string;
|
|
5
5
|
type: DialogType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TypedUseSelectorHook } from 'react-redux';
|
|
1
|
+
import type { TypedUseSelectorHook } from 'react-redux';
|
|
2
2
|
import type { CoreAppStore } from '../types';
|
|
3
3
|
import type { DialogType, UIModuleState, UIStoreType, UIType } from './types';
|
|
4
4
|
export declare const useAppSelector: TypedUseSelectorHook<CoreAppStore>;
|