@opengeoweb/store 21.1.0 → 21.2.0-nightly-20261113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +402 -270
- package/dist/src/store/generic/syncGroups/hooks.d.ts +3 -1
- package/dist/src/store/map/index.d.ts +1 -1
- package/dist/src/store/map/layer/selectors.d.ts +496 -5
- package/dist/src/store/map/layer/utils.d.ts +1 -0
- package/dist/src/store/map/map/reducer.d.ts +14 -1
- package/dist/src/store/map/map/selectors.d.ts +29 -1
- package/dist/src/store/map/map/types.d.ts +6 -0
- package/dist/src/store/map/service/selectors.d.ts +34 -34
- package/dist/src/store/map/service/types.d.ts +5 -2
- package/dist/src/store/mapStore/openlayers/syncGroupFit.d.ts +23 -0
- package/dist/src/store/mapStore/openlayers/syncGroupViewStore.d.ts +2 -0
- package/dist/src/store/store.d.ts +3 -1
- package/package.json +6 -6
|
@@ -15,6 +15,8 @@ export declare const useRegisterFeatureSyncSource: (panelId: string) => void;
|
|
|
15
15
|
* synced state is not initialized yet.
|
|
16
16
|
*
|
|
17
17
|
* @param panelId panelId to register as sync source
|
|
18
|
+
* @param debounceMs delay for changes to the time state
|
|
19
|
+
* @param immediateCurrent update the selected time immediately while debouncing the range
|
|
18
20
|
* @returns timeslider state
|
|
19
21
|
*/
|
|
20
|
-
export declare const useSyncgroupTimeState: (panelId: string, debounceMs?: number) => TimeSliderStartEndStepCurrent | undefined;
|
|
22
|
+
export declare const useSyncgroupTimeState: (panelId: string, debounceMs?: number, immediateCurrent?: boolean) => TimeSliderStartEndStepCurrent | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from './service';
|
|
2
2
|
export * from './map';
|
|
3
3
|
export * from './layer';
|
|
4
|
-
export type { WebMapStateModuleState, MapPreset, MapPresetInitialProps, TimeSliderStartEndStep, } from './types';
|
|
4
|
+
export type { WebMapStateModuleState, MapPreset, MapPresetInitialProps, TimeSliderStartEndStep, TimeSliderStartEndStepCurrent, } from './types';
|
|
5
5
|
export * as storeTestSettings from './storeTestSettings';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LayerType } from '@opengeoweb/webmap';
|
|
2
2
|
import type { CoreAppStore } from '../../types';
|
|
3
|
-
import type { Dimension, ReduxLayer } from '../types';
|
|
3
|
+
import type { Dimension, ReduxLayer, ServiceLayer } from '../types';
|
|
4
4
|
import type { LayerState, Layer } from './types';
|
|
5
5
|
import { LayerStatus } from './types';
|
|
6
6
|
/**
|
|
@@ -2626,6 +2626,217 @@ export declare const getLayerDisplayName: ((state: any, layerId: any) => string)
|
|
|
2626
2626
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2627
2627
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
2628
2628
|
};
|
|
2629
|
+
/**
|
|
2630
|
+
* Gets the service layer of a map layer. EDR and STAC layers point to a collection,
|
|
2631
|
+
* so the layer is also searched from the root service. For EDR root services the
|
|
2632
|
+
* collection id must match, as the same parameter can exist in several collections.
|
|
2633
|
+
*
|
|
2634
|
+
* Example: serviceLayer = getServiceLayer(store, 'layerId_1')
|
|
2635
|
+
* @param {object} store store: object - object from which the layers state will be extracted
|
|
2636
|
+
* @param {string} layerId layerId: string - Id of the layer
|
|
2637
|
+
* @returns {ServiceLayer} returnType: ServiceLayer - the layer from the service store
|
|
2638
|
+
*/
|
|
2639
|
+
export declare const getServiceLayer: ((state: any, layerId: any) => ServiceLayer | undefined) & {
|
|
2640
|
+
clearCache: () => void;
|
|
2641
|
+
resultsCount: () => number;
|
|
2642
|
+
resetResultsCount: () => void;
|
|
2643
|
+
} & {
|
|
2644
|
+
resultFunc: (resultFuncArgs_0: import("../types").Services, resultFuncArgs_1: string, resultFuncArgs_2: string, resultFuncArgs_3: LayerType | "mapLayer", resultFuncArgs_4: import("@opengeoweb/webmap").EDRFeatureLayerOptions | import("@opengeoweb/webmap").STACGeoTIFFLayerOptions | undefined) => ServiceLayer | undefined;
|
|
2645
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("../types").Services, resultFuncArgs_1: string, resultFuncArgs_2: string, resultFuncArgs_3: LayerType | "mapLayer", resultFuncArgs_4: import("@opengeoweb/webmap").EDRFeatureLayerOptions | import("@opengeoweb/webmap").STACGeoTIFFLayerOptions | undefined) => ServiceLayer | undefined) & {
|
|
2646
|
+
clearCache: () => void;
|
|
2647
|
+
resultsCount: () => number;
|
|
2648
|
+
resetResultsCount: () => void;
|
|
2649
|
+
};
|
|
2650
|
+
lastResult: () => ServiceLayer | undefined;
|
|
2651
|
+
dependencies: [((state: CoreAppStore) => import("../types").Services) & {
|
|
2652
|
+
clearCache: () => void;
|
|
2653
|
+
resultsCount: () => number;
|
|
2654
|
+
resetResultsCount: () => void;
|
|
2655
|
+
} & {
|
|
2656
|
+
resultFunc: (resultFuncArgs_0: import("../types").ServiceState | undefined) => import("../types").Services;
|
|
2657
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("../types").ServiceState | undefined) => import("../types").Services) & {
|
|
2658
|
+
clearCache: () => void;
|
|
2659
|
+
resultsCount: () => number;
|
|
2660
|
+
resetResultsCount: () => void;
|
|
2661
|
+
};
|
|
2662
|
+
lastResult: () => import("../types").Services;
|
|
2663
|
+
dependencies: [(store: CoreAppStore) => import("../types").ServiceState | undefined];
|
|
2664
|
+
recomputations: () => number;
|
|
2665
|
+
resetRecomputations: () => void;
|
|
2666
|
+
dependencyRecomputations: () => number;
|
|
2667
|
+
resetDependencyRecomputations: () => void;
|
|
2668
|
+
} & {
|
|
2669
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2670
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
2671
|
+
}, ((state: any, layerId: any) => string) & {
|
|
2672
|
+
clearCache: () => void;
|
|
2673
|
+
resultsCount: () => number;
|
|
2674
|
+
resetResultsCount: () => void;
|
|
2675
|
+
} & {
|
|
2676
|
+
resultFunc: (resultFuncArgs_0: ReduxLayer | undefined) => string;
|
|
2677
|
+
memoizedResultFunc: ((resultFuncArgs_0: ReduxLayer | undefined) => string) & {
|
|
2678
|
+
clearCache: () => void;
|
|
2679
|
+
resultsCount: () => number;
|
|
2680
|
+
resetResultsCount: () => void;
|
|
2681
|
+
};
|
|
2682
|
+
lastResult: () => string;
|
|
2683
|
+
dependencies: [((state: any, layerId: any) => ReduxLayer | undefined) & {
|
|
2684
|
+
clearCache: () => void;
|
|
2685
|
+
resultsCount: () => number;
|
|
2686
|
+
resetResultsCount: () => void;
|
|
2687
|
+
} & {
|
|
2688
|
+
resultFunc: (resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined;
|
|
2689
|
+
memoizedResultFunc: ((resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined) & {
|
|
2690
|
+
clearCache: () => void;
|
|
2691
|
+
resultsCount: () => number;
|
|
2692
|
+
resetResultsCount: () => void;
|
|
2693
|
+
};
|
|
2694
|
+
lastResult: () => ReduxLayer | undefined;
|
|
2695
|
+
dependencies: [(store: CoreAppStore) => LayerState | undefined, (layerStore: any, layerId: any) => string];
|
|
2696
|
+
recomputations: () => number;
|
|
2697
|
+
resetRecomputations: () => void;
|
|
2698
|
+
dependencyRecomputations: () => number;
|
|
2699
|
+
resetDependencyRecomputations: () => void;
|
|
2700
|
+
} & {
|
|
2701
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2702
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
2703
|
+
}];
|
|
2704
|
+
recomputations: () => number;
|
|
2705
|
+
resetRecomputations: () => void;
|
|
2706
|
+
dependencyRecomputations: () => number;
|
|
2707
|
+
resetDependencyRecomputations: () => void;
|
|
2708
|
+
} & {
|
|
2709
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2710
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
2711
|
+
}, ((state: any, layerId: any) => string) & {
|
|
2712
|
+
clearCache: () => void;
|
|
2713
|
+
resultsCount: () => number;
|
|
2714
|
+
resetResultsCount: () => void;
|
|
2715
|
+
} & {
|
|
2716
|
+
resultFunc: (resultFuncArgs_0: ReduxLayer | undefined) => string;
|
|
2717
|
+
memoizedResultFunc: ((resultFuncArgs_0: ReduxLayer | undefined) => string) & {
|
|
2718
|
+
clearCache: () => void;
|
|
2719
|
+
resultsCount: () => number;
|
|
2720
|
+
resetResultsCount: () => void;
|
|
2721
|
+
};
|
|
2722
|
+
lastResult: () => string;
|
|
2723
|
+
dependencies: [((state: any, layerId: any) => ReduxLayer | undefined) & {
|
|
2724
|
+
clearCache: () => void;
|
|
2725
|
+
resultsCount: () => number;
|
|
2726
|
+
resetResultsCount: () => void;
|
|
2727
|
+
} & {
|
|
2728
|
+
resultFunc: (resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined;
|
|
2729
|
+
memoizedResultFunc: ((resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined) & {
|
|
2730
|
+
clearCache: () => void;
|
|
2731
|
+
resultsCount: () => number;
|
|
2732
|
+
resetResultsCount: () => void;
|
|
2733
|
+
};
|
|
2734
|
+
lastResult: () => ReduxLayer | undefined;
|
|
2735
|
+
dependencies: [(store: CoreAppStore) => LayerState | undefined, (layerStore: any, layerId: any) => string];
|
|
2736
|
+
recomputations: () => number;
|
|
2737
|
+
resetRecomputations: () => void;
|
|
2738
|
+
dependencyRecomputations: () => number;
|
|
2739
|
+
resetDependencyRecomputations: () => void;
|
|
2740
|
+
} & {
|
|
2741
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2742
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
2743
|
+
}];
|
|
2744
|
+
recomputations: () => number;
|
|
2745
|
+
resetRecomputations: () => void;
|
|
2746
|
+
dependencyRecomputations: () => number;
|
|
2747
|
+
resetDependencyRecomputations: () => void;
|
|
2748
|
+
} & {
|
|
2749
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2750
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
2751
|
+
}, ((state: any, layerId: any) => LayerType | "mapLayer") & {
|
|
2752
|
+
clearCache: () => void;
|
|
2753
|
+
resultsCount: () => number;
|
|
2754
|
+
resetResultsCount: () => void;
|
|
2755
|
+
} & {
|
|
2756
|
+
resultFunc: (resultFuncArgs_0: ReduxLayer | undefined) => LayerType | "mapLayer";
|
|
2757
|
+
memoizedResultFunc: ((resultFuncArgs_0: ReduxLayer | undefined) => LayerType | "mapLayer") & {
|
|
2758
|
+
clearCache: () => void;
|
|
2759
|
+
resultsCount: () => number;
|
|
2760
|
+
resetResultsCount: () => void;
|
|
2761
|
+
};
|
|
2762
|
+
lastResult: () => LayerType | "mapLayer";
|
|
2763
|
+
dependencies: [((state: any, layerId: any) => ReduxLayer | undefined) & {
|
|
2764
|
+
clearCache: () => void;
|
|
2765
|
+
resultsCount: () => number;
|
|
2766
|
+
resetResultsCount: () => void;
|
|
2767
|
+
} & {
|
|
2768
|
+
resultFunc: (resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined;
|
|
2769
|
+
memoizedResultFunc: ((resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined) & {
|
|
2770
|
+
clearCache: () => void;
|
|
2771
|
+
resultsCount: () => number;
|
|
2772
|
+
resetResultsCount: () => void;
|
|
2773
|
+
};
|
|
2774
|
+
lastResult: () => ReduxLayer | undefined;
|
|
2775
|
+
dependencies: [(store: CoreAppStore) => LayerState | undefined, (layerStore: any, layerId: any) => string];
|
|
2776
|
+
recomputations: () => number;
|
|
2777
|
+
resetRecomputations: () => void;
|
|
2778
|
+
dependencyRecomputations: () => number;
|
|
2779
|
+
resetDependencyRecomputations: () => void;
|
|
2780
|
+
} & {
|
|
2781
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2782
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
2783
|
+
}];
|
|
2784
|
+
recomputations: () => number;
|
|
2785
|
+
resetRecomputations: () => void;
|
|
2786
|
+
dependencyRecomputations: () => number;
|
|
2787
|
+
resetDependencyRecomputations: () => void;
|
|
2788
|
+
} & {
|
|
2789
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2790
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
2791
|
+
}, ((state: any, layerId: any) => import("@opengeoweb/webmap").EDRFeatureLayerOptions | import("@opengeoweb/webmap").STACGeoTIFFLayerOptions | undefined) & {
|
|
2792
|
+
clearCache: () => void;
|
|
2793
|
+
resultsCount: () => number;
|
|
2794
|
+
resetResultsCount: () => void;
|
|
2795
|
+
} & {
|
|
2796
|
+
resultFunc: (resultFuncArgs_0: ReduxLayer | undefined) => import("@opengeoweb/webmap").EDRFeatureLayerOptions | import("@opengeoweb/webmap").STACGeoTIFFLayerOptions | undefined;
|
|
2797
|
+
memoizedResultFunc: ((resultFuncArgs_0: ReduxLayer | undefined) => import("@opengeoweb/webmap").EDRFeatureLayerOptions | import("@opengeoweb/webmap").STACGeoTIFFLayerOptions | undefined) & {
|
|
2798
|
+
clearCache: () => void;
|
|
2799
|
+
resultsCount: () => number;
|
|
2800
|
+
resetResultsCount: () => void;
|
|
2801
|
+
};
|
|
2802
|
+
lastResult: () => import("@opengeoweb/webmap").EDRFeatureLayerOptions | import("@opengeoweb/webmap").STACGeoTIFFLayerOptions | undefined;
|
|
2803
|
+
dependencies: [((state: any, layerId: any) => ReduxLayer | undefined) & {
|
|
2804
|
+
clearCache: () => void;
|
|
2805
|
+
resultsCount: () => number;
|
|
2806
|
+
resetResultsCount: () => void;
|
|
2807
|
+
} & {
|
|
2808
|
+
resultFunc: (resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined;
|
|
2809
|
+
memoizedResultFunc: ((resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined) & {
|
|
2810
|
+
clearCache: () => void;
|
|
2811
|
+
resultsCount: () => number;
|
|
2812
|
+
resetResultsCount: () => void;
|
|
2813
|
+
};
|
|
2814
|
+
lastResult: () => ReduxLayer | undefined;
|
|
2815
|
+
dependencies: [(store: CoreAppStore) => LayerState | undefined, (layerStore: any, layerId: any) => string];
|
|
2816
|
+
recomputations: () => number;
|
|
2817
|
+
resetRecomputations: () => void;
|
|
2818
|
+
dependencyRecomputations: () => number;
|
|
2819
|
+
resetDependencyRecomputations: () => void;
|
|
2820
|
+
} & {
|
|
2821
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2822
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
2823
|
+
}];
|
|
2824
|
+
recomputations: () => number;
|
|
2825
|
+
resetRecomputations: () => void;
|
|
2826
|
+
dependencyRecomputations: () => number;
|
|
2827
|
+
resetDependencyRecomputations: () => void;
|
|
2828
|
+
} & {
|
|
2829
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2830
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
2831
|
+
}];
|
|
2832
|
+
recomputations: () => number;
|
|
2833
|
+
resetRecomputations: () => void;
|
|
2834
|
+
dependencyRecomputations: () => number;
|
|
2835
|
+
resetDependencyRecomputations: () => void;
|
|
2836
|
+
} & {
|
|
2837
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2838
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
2839
|
+
};
|
|
2629
2840
|
/**
|
|
2630
2841
|
* Gets the layer missing status. A layer is missing if it is not found in the service store or if its status is 'error'.
|
|
2631
2842
|
*
|
|
@@ -2634,19 +2845,299 @@ export declare const getLayerDisplayName: ((state: any, layerId: any) => string)
|
|
|
2634
2845
|
* @param {string} layerId layerId: string - Id of the layer
|
|
2635
2846
|
* @returns {boolean} returnType: boolean - true if layer is missing
|
|
2636
2847
|
*/
|
|
2637
|
-
export declare const getIsLayerMissing: ((state: any,
|
|
2848
|
+
export declare const getIsLayerMissing: ((state: any, layerId: any) => boolean) & {
|
|
2638
2849
|
clearCache: () => void;
|
|
2639
2850
|
resultsCount: () => number;
|
|
2640
2851
|
resetResultsCount: () => void;
|
|
2641
2852
|
} & {
|
|
2642
|
-
resultFunc: (
|
|
2643
|
-
memoizedResultFunc: ((
|
|
2853
|
+
resultFunc: (resultFuncArgs_0: ServiceLayer | undefined, resultFuncArgs_1: LayerStatus, resultFuncArgs_2: LayerType | "mapLayer") => boolean;
|
|
2854
|
+
memoizedResultFunc: ((resultFuncArgs_0: ServiceLayer | undefined, resultFuncArgs_1: LayerStatus, resultFuncArgs_2: LayerType | "mapLayer") => boolean) & {
|
|
2644
2855
|
clearCache: () => void;
|
|
2645
2856
|
resultsCount: () => number;
|
|
2646
2857
|
resetResultsCount: () => void;
|
|
2647
2858
|
};
|
|
2648
2859
|
lastResult: () => boolean;
|
|
2649
|
-
dependencies:
|
|
2860
|
+
dependencies: [((state: any, layerId: any) => ServiceLayer | undefined) & {
|
|
2861
|
+
clearCache: () => void;
|
|
2862
|
+
resultsCount: () => number;
|
|
2863
|
+
resetResultsCount: () => void;
|
|
2864
|
+
} & {
|
|
2865
|
+
resultFunc: (resultFuncArgs_0: import("../types").Services, resultFuncArgs_1: string, resultFuncArgs_2: string, resultFuncArgs_3: LayerType | "mapLayer", resultFuncArgs_4: import("@opengeoweb/webmap").EDRFeatureLayerOptions | import("@opengeoweb/webmap").STACGeoTIFFLayerOptions | undefined) => ServiceLayer | undefined;
|
|
2866
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("../types").Services, resultFuncArgs_1: string, resultFuncArgs_2: string, resultFuncArgs_3: LayerType | "mapLayer", resultFuncArgs_4: import("@opengeoweb/webmap").EDRFeatureLayerOptions | import("@opengeoweb/webmap").STACGeoTIFFLayerOptions | undefined) => ServiceLayer | undefined) & {
|
|
2867
|
+
clearCache: () => void;
|
|
2868
|
+
resultsCount: () => number;
|
|
2869
|
+
resetResultsCount: () => void;
|
|
2870
|
+
};
|
|
2871
|
+
lastResult: () => ServiceLayer | undefined;
|
|
2872
|
+
dependencies: [((state: CoreAppStore) => import("../types").Services) & {
|
|
2873
|
+
clearCache: () => void;
|
|
2874
|
+
resultsCount: () => number;
|
|
2875
|
+
resetResultsCount: () => void;
|
|
2876
|
+
} & {
|
|
2877
|
+
resultFunc: (resultFuncArgs_0: import("../types").ServiceState | undefined) => import("../types").Services;
|
|
2878
|
+
memoizedResultFunc: ((resultFuncArgs_0: import("../types").ServiceState | undefined) => import("../types").Services) & {
|
|
2879
|
+
clearCache: () => void;
|
|
2880
|
+
resultsCount: () => number;
|
|
2881
|
+
resetResultsCount: () => void;
|
|
2882
|
+
};
|
|
2883
|
+
lastResult: () => import("../types").Services;
|
|
2884
|
+
dependencies: [(store: CoreAppStore) => import("../types").ServiceState | undefined];
|
|
2885
|
+
recomputations: () => number;
|
|
2886
|
+
resetRecomputations: () => void;
|
|
2887
|
+
dependencyRecomputations: () => number;
|
|
2888
|
+
resetDependencyRecomputations: () => void;
|
|
2889
|
+
} & {
|
|
2890
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2891
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
2892
|
+
}, ((state: any, layerId: any) => string) & {
|
|
2893
|
+
clearCache: () => void;
|
|
2894
|
+
resultsCount: () => number;
|
|
2895
|
+
resetResultsCount: () => void;
|
|
2896
|
+
} & {
|
|
2897
|
+
resultFunc: (resultFuncArgs_0: ReduxLayer | undefined) => string;
|
|
2898
|
+
memoizedResultFunc: ((resultFuncArgs_0: ReduxLayer | undefined) => string) & {
|
|
2899
|
+
clearCache: () => void;
|
|
2900
|
+
resultsCount: () => number;
|
|
2901
|
+
resetResultsCount: () => void;
|
|
2902
|
+
};
|
|
2903
|
+
lastResult: () => string;
|
|
2904
|
+
dependencies: [((state: any, layerId: any) => ReduxLayer | undefined) & {
|
|
2905
|
+
clearCache: () => void;
|
|
2906
|
+
resultsCount: () => number;
|
|
2907
|
+
resetResultsCount: () => void;
|
|
2908
|
+
} & {
|
|
2909
|
+
resultFunc: (resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined;
|
|
2910
|
+
memoizedResultFunc: ((resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined) & {
|
|
2911
|
+
clearCache: () => void;
|
|
2912
|
+
resultsCount: () => number;
|
|
2913
|
+
resetResultsCount: () => void;
|
|
2914
|
+
};
|
|
2915
|
+
lastResult: () => ReduxLayer | undefined;
|
|
2916
|
+
dependencies: [(store: CoreAppStore) => LayerState | undefined, (layerStore: any, layerId: any) => string];
|
|
2917
|
+
recomputations: () => number;
|
|
2918
|
+
resetRecomputations: () => void;
|
|
2919
|
+
dependencyRecomputations: () => number;
|
|
2920
|
+
resetDependencyRecomputations: () => void;
|
|
2921
|
+
} & {
|
|
2922
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2923
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
2924
|
+
}];
|
|
2925
|
+
recomputations: () => number;
|
|
2926
|
+
resetRecomputations: () => void;
|
|
2927
|
+
dependencyRecomputations: () => number;
|
|
2928
|
+
resetDependencyRecomputations: () => void;
|
|
2929
|
+
} & {
|
|
2930
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2931
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
2932
|
+
}, ((state: any, layerId: any) => string) & {
|
|
2933
|
+
clearCache: () => void;
|
|
2934
|
+
resultsCount: () => number;
|
|
2935
|
+
resetResultsCount: () => void;
|
|
2936
|
+
} & {
|
|
2937
|
+
resultFunc: (resultFuncArgs_0: ReduxLayer | undefined) => string;
|
|
2938
|
+
memoizedResultFunc: ((resultFuncArgs_0: ReduxLayer | undefined) => string) & {
|
|
2939
|
+
clearCache: () => void;
|
|
2940
|
+
resultsCount: () => number;
|
|
2941
|
+
resetResultsCount: () => void;
|
|
2942
|
+
};
|
|
2943
|
+
lastResult: () => string;
|
|
2944
|
+
dependencies: [((state: any, layerId: any) => ReduxLayer | undefined) & {
|
|
2945
|
+
clearCache: () => void;
|
|
2946
|
+
resultsCount: () => number;
|
|
2947
|
+
resetResultsCount: () => void;
|
|
2948
|
+
} & {
|
|
2949
|
+
resultFunc: (resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined;
|
|
2950
|
+
memoizedResultFunc: ((resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined) & {
|
|
2951
|
+
clearCache: () => void;
|
|
2952
|
+
resultsCount: () => number;
|
|
2953
|
+
resetResultsCount: () => void;
|
|
2954
|
+
};
|
|
2955
|
+
lastResult: () => ReduxLayer | undefined;
|
|
2956
|
+
dependencies: [(store: CoreAppStore) => LayerState | undefined, (layerStore: any, layerId: any) => string];
|
|
2957
|
+
recomputations: () => number;
|
|
2958
|
+
resetRecomputations: () => void;
|
|
2959
|
+
dependencyRecomputations: () => number;
|
|
2960
|
+
resetDependencyRecomputations: () => void;
|
|
2961
|
+
} & {
|
|
2962
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2963
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
2964
|
+
}];
|
|
2965
|
+
recomputations: () => number;
|
|
2966
|
+
resetRecomputations: () => void;
|
|
2967
|
+
dependencyRecomputations: () => number;
|
|
2968
|
+
resetDependencyRecomputations: () => void;
|
|
2969
|
+
} & {
|
|
2970
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
2971
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
2972
|
+
}, ((state: any, layerId: any) => LayerType | "mapLayer") & {
|
|
2973
|
+
clearCache: () => void;
|
|
2974
|
+
resultsCount: () => number;
|
|
2975
|
+
resetResultsCount: () => void;
|
|
2976
|
+
} & {
|
|
2977
|
+
resultFunc: (resultFuncArgs_0: ReduxLayer | undefined) => LayerType | "mapLayer";
|
|
2978
|
+
memoizedResultFunc: ((resultFuncArgs_0: ReduxLayer | undefined) => LayerType | "mapLayer") & {
|
|
2979
|
+
clearCache: () => void;
|
|
2980
|
+
resultsCount: () => number;
|
|
2981
|
+
resetResultsCount: () => void;
|
|
2982
|
+
};
|
|
2983
|
+
lastResult: () => LayerType | "mapLayer";
|
|
2984
|
+
dependencies: [((state: any, layerId: any) => ReduxLayer | undefined) & {
|
|
2985
|
+
clearCache: () => void;
|
|
2986
|
+
resultsCount: () => number;
|
|
2987
|
+
resetResultsCount: () => void;
|
|
2988
|
+
} & {
|
|
2989
|
+
resultFunc: (resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined;
|
|
2990
|
+
memoizedResultFunc: ((resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined) & {
|
|
2991
|
+
clearCache: () => void;
|
|
2992
|
+
resultsCount: () => number;
|
|
2993
|
+
resetResultsCount: () => void;
|
|
2994
|
+
};
|
|
2995
|
+
lastResult: () => ReduxLayer | undefined;
|
|
2996
|
+
dependencies: [(store: CoreAppStore) => LayerState | undefined, (layerStore: any, layerId: any) => string];
|
|
2997
|
+
recomputations: () => number;
|
|
2998
|
+
resetRecomputations: () => void;
|
|
2999
|
+
dependencyRecomputations: () => number;
|
|
3000
|
+
resetDependencyRecomputations: () => void;
|
|
3001
|
+
} & {
|
|
3002
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
3003
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
3004
|
+
}];
|
|
3005
|
+
recomputations: () => number;
|
|
3006
|
+
resetRecomputations: () => void;
|
|
3007
|
+
dependencyRecomputations: () => number;
|
|
3008
|
+
resetDependencyRecomputations: () => void;
|
|
3009
|
+
} & {
|
|
3010
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
3011
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
3012
|
+
}, ((state: any, layerId: any) => import("@opengeoweb/webmap").EDRFeatureLayerOptions | import("@opengeoweb/webmap").STACGeoTIFFLayerOptions | undefined) & {
|
|
3013
|
+
clearCache: () => void;
|
|
3014
|
+
resultsCount: () => number;
|
|
3015
|
+
resetResultsCount: () => void;
|
|
3016
|
+
} & {
|
|
3017
|
+
resultFunc: (resultFuncArgs_0: ReduxLayer | undefined) => import("@opengeoweb/webmap").EDRFeatureLayerOptions | import("@opengeoweb/webmap").STACGeoTIFFLayerOptions | undefined;
|
|
3018
|
+
memoizedResultFunc: ((resultFuncArgs_0: ReduxLayer | undefined) => import("@opengeoweb/webmap").EDRFeatureLayerOptions | import("@opengeoweb/webmap").STACGeoTIFFLayerOptions | undefined) & {
|
|
3019
|
+
clearCache: () => void;
|
|
3020
|
+
resultsCount: () => number;
|
|
3021
|
+
resetResultsCount: () => void;
|
|
3022
|
+
};
|
|
3023
|
+
lastResult: () => import("@opengeoweb/webmap").EDRFeatureLayerOptions | import("@opengeoweb/webmap").STACGeoTIFFLayerOptions | undefined;
|
|
3024
|
+
dependencies: [((state: any, layerId: any) => ReduxLayer | undefined) & {
|
|
3025
|
+
clearCache: () => void;
|
|
3026
|
+
resultsCount: () => number;
|
|
3027
|
+
resetResultsCount: () => void;
|
|
3028
|
+
} & {
|
|
3029
|
+
resultFunc: (resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined;
|
|
3030
|
+
memoizedResultFunc: ((resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined) & {
|
|
3031
|
+
clearCache: () => void;
|
|
3032
|
+
resultsCount: () => number;
|
|
3033
|
+
resetResultsCount: () => void;
|
|
3034
|
+
};
|
|
3035
|
+
lastResult: () => ReduxLayer | undefined;
|
|
3036
|
+
dependencies: [(store: CoreAppStore) => LayerState | undefined, (layerStore: any, layerId: any) => string];
|
|
3037
|
+
recomputations: () => number;
|
|
3038
|
+
resetRecomputations: () => void;
|
|
3039
|
+
dependencyRecomputations: () => number;
|
|
3040
|
+
resetDependencyRecomputations: () => void;
|
|
3041
|
+
} & {
|
|
3042
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
3043
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
3044
|
+
}];
|
|
3045
|
+
recomputations: () => number;
|
|
3046
|
+
resetRecomputations: () => void;
|
|
3047
|
+
dependencyRecomputations: () => number;
|
|
3048
|
+
resetDependencyRecomputations: () => void;
|
|
3049
|
+
} & {
|
|
3050
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
3051
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
3052
|
+
}];
|
|
3053
|
+
recomputations: () => number;
|
|
3054
|
+
resetRecomputations: () => void;
|
|
3055
|
+
dependencyRecomputations: () => number;
|
|
3056
|
+
resetDependencyRecomputations: () => void;
|
|
3057
|
+
} & {
|
|
3058
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
3059
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
3060
|
+
}, ((state: any, layerId: any) => LayerStatus) & {
|
|
3061
|
+
clearCache: () => void;
|
|
3062
|
+
resultsCount: () => number;
|
|
3063
|
+
resetResultsCount: () => void;
|
|
3064
|
+
} & {
|
|
3065
|
+
resultFunc: (resultFuncArgs_0: ReduxLayer | undefined) => LayerStatus;
|
|
3066
|
+
memoizedResultFunc: ((resultFuncArgs_0: ReduxLayer | undefined) => LayerStatus) & {
|
|
3067
|
+
clearCache: () => void;
|
|
3068
|
+
resultsCount: () => number;
|
|
3069
|
+
resetResultsCount: () => void;
|
|
3070
|
+
};
|
|
3071
|
+
lastResult: () => LayerStatus;
|
|
3072
|
+
dependencies: [((state: any, layerId: any) => ReduxLayer | undefined) & {
|
|
3073
|
+
clearCache: () => void;
|
|
3074
|
+
resultsCount: () => number;
|
|
3075
|
+
resetResultsCount: () => void;
|
|
3076
|
+
} & {
|
|
3077
|
+
resultFunc: (resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined;
|
|
3078
|
+
memoizedResultFunc: ((resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined) & {
|
|
3079
|
+
clearCache: () => void;
|
|
3080
|
+
resultsCount: () => number;
|
|
3081
|
+
resetResultsCount: () => void;
|
|
3082
|
+
};
|
|
3083
|
+
lastResult: () => ReduxLayer | undefined;
|
|
3084
|
+
dependencies: [(store: CoreAppStore) => LayerState | undefined, (layerStore: any, layerId: any) => string];
|
|
3085
|
+
recomputations: () => number;
|
|
3086
|
+
resetRecomputations: () => void;
|
|
3087
|
+
dependencyRecomputations: () => number;
|
|
3088
|
+
resetDependencyRecomputations: () => void;
|
|
3089
|
+
} & {
|
|
3090
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
3091
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
3092
|
+
}];
|
|
3093
|
+
recomputations: () => number;
|
|
3094
|
+
resetRecomputations: () => void;
|
|
3095
|
+
dependencyRecomputations: () => number;
|
|
3096
|
+
resetDependencyRecomputations: () => void;
|
|
3097
|
+
} & {
|
|
3098
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
3099
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
3100
|
+
}, ((state: any, layerId: any) => LayerType | "mapLayer") & {
|
|
3101
|
+
clearCache: () => void;
|
|
3102
|
+
resultsCount: () => number;
|
|
3103
|
+
resetResultsCount: () => void;
|
|
3104
|
+
} & {
|
|
3105
|
+
resultFunc: (resultFuncArgs_0: ReduxLayer | undefined) => LayerType | "mapLayer";
|
|
3106
|
+
memoizedResultFunc: ((resultFuncArgs_0: ReduxLayer | undefined) => LayerType | "mapLayer") & {
|
|
3107
|
+
clearCache: () => void;
|
|
3108
|
+
resultsCount: () => number;
|
|
3109
|
+
resetResultsCount: () => void;
|
|
3110
|
+
};
|
|
3111
|
+
lastResult: () => LayerType | "mapLayer";
|
|
3112
|
+
dependencies: [((state: any, layerId: any) => ReduxLayer | undefined) & {
|
|
3113
|
+
clearCache: () => void;
|
|
3114
|
+
resultsCount: () => number;
|
|
3115
|
+
resetResultsCount: () => void;
|
|
3116
|
+
} & {
|
|
3117
|
+
resultFunc: (resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined;
|
|
3118
|
+
memoizedResultFunc: ((resultFuncArgs_0: LayerState | undefined, resultFuncArgs_1: string) => ReduxLayer | undefined) & {
|
|
3119
|
+
clearCache: () => void;
|
|
3120
|
+
resultsCount: () => number;
|
|
3121
|
+
resetResultsCount: () => void;
|
|
3122
|
+
};
|
|
3123
|
+
lastResult: () => ReduxLayer | undefined;
|
|
3124
|
+
dependencies: [(store: CoreAppStore) => LayerState | undefined, (layerStore: any, layerId: any) => string];
|
|
3125
|
+
recomputations: () => number;
|
|
3126
|
+
resetRecomputations: () => void;
|
|
3127
|
+
dependencyRecomputations: () => number;
|
|
3128
|
+
resetDependencyRecomputations: () => void;
|
|
3129
|
+
} & {
|
|
3130
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
3131
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
3132
|
+
}];
|
|
3133
|
+
recomputations: () => number;
|
|
3134
|
+
resetRecomputations: () => void;
|
|
3135
|
+
dependencyRecomputations: () => number;
|
|
3136
|
+
resetDependencyRecomputations: () => void;
|
|
3137
|
+
} & {
|
|
3138
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
3139
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
3140
|
+
}];
|
|
2650
3141
|
recomputations: () => number;
|
|
2651
3142
|
resetRecomputations: () => void;
|
|
2652
3143
|
dependencyRecomputations: () => number;
|
|
@@ -5,6 +5,7 @@ import type { LayerState } from './types';
|
|
|
5
5
|
export declare const trimTrailingSlashes: (url: string) => string;
|
|
6
6
|
export declare const getSTACServiceRootUrl: (serviceUrl: string) => string;
|
|
7
7
|
export declare const getEDRServiceRootUrl: (serviceUrl: string) => string;
|
|
8
|
+
export declare const getEDRCollectionId: (serviceUrl: string) => string;
|
|
8
9
|
export declare const getTrailingSlashVariant: (url: string) => string;
|
|
9
10
|
/**
|
|
10
11
|
* Generates a unique id for a geoJSON feature. Feature ids need to be stable
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PayloadAction, Draft } from '@reduxjs/toolkit';
|
|
2
2
|
import type { MapPinLocationPayload, SetBboxPayload, SetStepBackWardOrForward, UpdateAllMapDimensionsPayload } from '@opengeoweb/webmap-react';
|
|
3
|
-
import type { WebMapState, SetAutoLayerIdPayload, SetMapAnimationStartPayload, SetMapAnimationStopPayload, SetTimeSliderSpanPayload, SetTimeStepPayload, SetAnimationStartTimePayload, SetAnimationEndTimePayload, SetAnimationDelayPayload, MoveLayerPayload, SetTimeSliderWidthPayload, SetTimeSliderCenterTimePayload, SetEndTimeOverriding, ToggleAutoUpdatePayload, ToggleTimestepAutoPayload, ToggleTimeSpanAutoPayload, ToggleTimeSliderHoverPayload, DisableMapPinPayload, ToggleTimeSliderIsVisiblePayload, SetDockedLayerManagerSize, SetDockedLayerManagerPosition, SetDockedLayerManagerDimensions, SetAnimationLengthPayload, RefreshAnimationRangePayload, SetDefaultMapSettingsPayload, ToggleClockPayload, SetClockPositionSizePayload, SetPendingInitialZoomToLayerPayload, SetLegendPositionSizePayload } from './types';
|
|
3
|
+
import type { MapSize, WebMapState, SetAutoLayerIdPayload, SetMapAnimationStartPayload, SetMapAnimationStopPayload, SetTimeSliderSpanPayload, SetTimeStepPayload, SetAnimationStartTimePayload, SetAnimationEndTimePayload, SetAnimationDelayPayload, MoveLayerPayload, SetTimeSliderWidthPayload, SetTimeSliderCenterTimePayload, SetEndTimeOverriding, ToggleAutoUpdatePayload, ToggleTimestepAutoPayload, ToggleTimeSpanAutoPayload, ToggleTimeSliderHoverPayload, DisableMapPinPayload, ToggleTimeSliderIsVisiblePayload, SetDockedLayerManagerSize, SetDockedLayerManagerPosition, SetDockedLayerManagerDimensions, SetAnimationLengthPayload, RefreshAnimationRangePayload, SetDefaultMapSettingsPayload, ToggleClockPayload, SetClockPositionSizePayload, SetPendingInitialZoomToLayerPayload, SetLegendPositionSizePayload } from './types';
|
|
4
4
|
import type { ToggleMapPinIsVisiblePayload, ToggleZoomControlsPayload } from '../types';
|
|
5
5
|
import type { MapActionOrigin } from './enums';
|
|
6
6
|
/**
|
|
@@ -18,6 +18,13 @@ export declare const slice: import("@reduxjs/toolkit").Slice<WebMapState, {
|
|
|
18
18
|
unregisterMap: (draft: Draft<WebMapState>, action: PayloadAction<{
|
|
19
19
|
mapId: string;
|
|
20
20
|
}>) => void;
|
|
21
|
+
setMapSize: (draft: Draft<WebMapState>, action: PayloadAction<{
|
|
22
|
+
mapId: string;
|
|
23
|
+
mapSize: MapSize;
|
|
24
|
+
}>) => void;
|
|
25
|
+
/** Hides the maps until the workspace load has fitted its zoom sync groups. */
|
|
26
|
+
startViewsSettling: (draft: Draft<WebMapState>) => void;
|
|
27
|
+
endViewsSettling: (draft: Draft<WebMapState>) => void;
|
|
21
28
|
setStepBackwardOrForward: (_draft: Draft<WebMapState>, _action: PayloadAction<SetStepBackWardOrForward>) => void;
|
|
22
29
|
setBbox: (draft: Draft<WebMapState>, action: PayloadAction<SetBboxPayload>) => void;
|
|
23
30
|
mapUpdateAllMapDimensions: (draft: Draft<WebMapState>, action: PayloadAction<UpdateAllMapDimensionsPayload>) => void;
|
|
@@ -86,6 +93,12 @@ export declare const mapActions: {
|
|
|
86
93
|
unregisterMap: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
87
94
|
mapId: string;
|
|
88
95
|
}, "mapReducer/unregisterMap">;
|
|
96
|
+
setMapSize: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
97
|
+
mapId: string;
|
|
98
|
+
mapSize: MapSize;
|
|
99
|
+
}, "mapReducer/setMapSize">;
|
|
100
|
+
startViewsSettling: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"mapReducer/startViewsSettling">;
|
|
101
|
+
endViewsSettling: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"mapReducer/endViewsSettling">;
|
|
89
102
|
setStepBackwardOrForward: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetStepBackWardOrForward, "mapReducer/setStepBackwardOrForward">;
|
|
90
103
|
setBbox: import("@reduxjs/toolkit").ActionCreatorWithPayload<SetBboxPayload, "mapReducer/setBbox">;
|
|
91
104
|
mapUpdateAllMapDimensions: import("@reduxjs/toolkit").ActionCreatorWithPayload<UpdateAllMapDimensionsPayload, "mapReducer/mapUpdateAllMapDimensions">;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AnimationAnchorInputs, AnimationLengthSetting } from '@opengeoweb/time-slider';
|
|
2
|
-
import type { Bbox, ClockPosition, ClockSize, LegendPosition, LegendSize, MapPreset, WebMap, WebMapState } from './types';
|
|
2
|
+
import type { Bbox, ClockPosition, ClockSize, LegendPosition, LegendSize, MapPreset, MapSize, WebMap, WebMapState } from './types';
|
|
3
3
|
import type { CoreAppStore } from '../../types';
|
|
4
4
|
import { uiTypes } from '../../ui';
|
|
5
5
|
import type { Dimension, DockedLayerManagerPosition, DockedLayerManagerSize, DockedLayerManagerDimensions, HarmonieInitialPropsResult, InitialTimeSliderProps, Layer, MultiMapInitialProps, ReduxLayer, TimeSliderStartEndStep, WebMapAnimationList } from '../types';
|
|
@@ -937,6 +937,34 @@ export declare const getBbox: ((state: CoreAppStore, mapId: string) => Bbox) & {
|
|
|
937
937
|
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
938
938
|
memoize: typeof import("reselect").weakMapMemoize;
|
|
939
939
|
};
|
|
940
|
+
/**
|
|
941
|
+
* Gets the size of the map in pixels, as reported by OpenLayers
|
|
942
|
+
*/
|
|
943
|
+
export declare const getMapSize: ((state: CoreAppStore, mapId: string) => MapSize | undefined) & {
|
|
944
|
+
clearCache: () => void;
|
|
945
|
+
resultsCount: () => number;
|
|
946
|
+
resetResultsCount: () => void;
|
|
947
|
+
} & {
|
|
948
|
+
resultFunc: (resultFuncArgs_0: WebMap | undefined) => MapSize | undefined;
|
|
949
|
+
memoizedResultFunc: ((resultFuncArgs_0: WebMap | undefined) => MapSize | undefined) & {
|
|
950
|
+
clearCache: () => void;
|
|
951
|
+
resultsCount: () => number;
|
|
952
|
+
resetResultsCount: () => void;
|
|
953
|
+
};
|
|
954
|
+
lastResult: () => MapSize | undefined;
|
|
955
|
+
dependencies: [(store: CoreAppStore, mapId: string) => WebMap | undefined];
|
|
956
|
+
recomputations: () => number;
|
|
957
|
+
resetRecomputations: () => void;
|
|
958
|
+
dependencyRecomputations: () => number;
|
|
959
|
+
resetDependencyRecomputations: () => void;
|
|
960
|
+
} & {
|
|
961
|
+
argsMemoize: typeof import("reselect").weakMapMemoize;
|
|
962
|
+
memoize: typeof import("reselect").weakMapMemoize;
|
|
963
|
+
};
|
|
964
|
+
/**
|
|
965
|
+
* Gets if the maps wait for the workspace load to fit its zoom sync groups
|
|
966
|
+
*/
|
|
967
|
+
export declare const areViewsSettling: (store: CoreAppStore) => boolean;
|
|
940
968
|
/**
|
|
941
969
|
* Gets if map is animating
|
|
942
970
|
*
|
|
@@ -62,6 +62,11 @@ export interface WebMap {
|
|
|
62
62
|
initialZoomToLayerId?: string;
|
|
63
63
|
legendPosition?: LegendPosition;
|
|
64
64
|
legendSize?: LegendSize;
|
|
65
|
+
mapSize?: MapSize;
|
|
66
|
+
}
|
|
67
|
+
export interface MapSize {
|
|
68
|
+
width: number;
|
|
69
|
+
height: number;
|
|
65
70
|
}
|
|
66
71
|
export type DockedLayerManagerSize = 'sizeSmall' | 'sizeMedium' | 'sizeLarge' | '';
|
|
67
72
|
export interface DockedLayerManagerPosition {
|
|
@@ -76,6 +81,7 @@ export interface WebMapState {
|
|
|
76
81
|
byId: Record<string, WebMap>;
|
|
77
82
|
allIds: string[];
|
|
78
83
|
defaultMapSettings?: MapPreset;
|
|
84
|
+
areViewsSettling?: boolean;
|
|
79
85
|
}
|
|
80
86
|
export interface Bbox {
|
|
81
87
|
left: number;
|