@opengeoweb/core 9.25.3 → 9.27.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 CHANGED
@@ -2,12 +2,12 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
3
  import React__default, { useState, useCallback, useRef } from 'react';
4
4
  import { Grid, Box, MenuItem, Typography, useTheme, Popper, Fade, Tooltip, styled, LinearProgress, FormControl, InputLabel, Paper, List, ListItemButton, ListItemText, CircularProgress, ListSubheader, Dialog, DialogTitle, DialogContent, DialogContentText, TextField, InputAdornment, DialogActions, Button, circularProgressClasses, ListItemIcon, Checkbox } from '@mui/material';
5
- import { SHARED_NAMESPACE, sharedTranslations, CustomIconButton, TooltipSelect, AlertIcon, sliderHeaderStyle, CustomSlider, ToggleMenu, CustomTooltip, tooltipContainerStyles, renderCounter, AlertBanner, CustomAccordion, calculateStartSize, ToolContainerDraggable, useDebounce, dateUtils, withEggs, ErrorBoundary } from '@opengeoweb/shared';
5
+ import { SHARED_NAMESPACE, sharedTranslations, CustomIconButton, TooltipSelect, AlertIcon, sliderHeaderStyle, CustomSlider, ToggleMenu, CustomTooltip, tooltipContainerStyles, renderCounter, AlertBanner, CustomAccordion, PROJECTION, calculateStartSize, ToolContainerDraggable, useDebounce, dateUtils, withEggs, ErrorBoundary } from '@opengeoweb/shared';
6
6
  import { CollapseSmall, CollapseMedium, CollapseLarge, CollapseWindow, ExpandWindow, LayersAdd, CloudLoading, Copy, None, FastForward, AutoUpdateActive, Both, Visibility, VisibilityOff, Delete, DragHandle as DragHandle$1, Cached, Add, MapAdd, WorldMapProjection, Layers, ExitDomain, Info, Search, Exclamation, MyLocation, Close, ThemeWrapper, lightTheme } from '@opengeoweb/theme';
7
7
  import i18n from 'i18next';
8
8
  import { useTranslation, initReactI18next, I18nextProvider } from 'react-i18next';
9
- import { TIMESLIDER_NAMESPACE, timesliderTranslations, defaultTimeSpan, TIME_SLIDER_LEGEND_HEIGHT, SpeedButton, TimeStepButton, AnimationLengthButton, AnimationLength, TimeSpanButton, marks as marks$1, secondsPerPxFromCanvasWidth, getNewCenterOfFixedPointZoom, OptionsMenuButton, PlayButton, defaultTimeStep, BackwardForwardStepButton, AutoUpdateButton, NowButton, handleSetNowEvent, TimeSliderButtons, TimeSliderCurrentTimeBox, TimeSliderLegend, TimeSlider, onsetNewDateDebounced, getFilteredTime, ControlButtons, OptionsMenu, TimeSliderClock } from '@opengeoweb/timeslider';
10
- import { WEBMAP_REACT_NAMESPACE, webmapReactTranslations, LayerInfoButton, LayerInfoDialog, MapControlButton, MapDimensionSelect, dimensionConfig, DimensionSelectDialog, DimensionSelectButton, ZoomControls, MapView, MapViewLayer, LegendDialog, LegendButton, registerDrawFunction, emptyGeoJSON, MapControls, publicLayers } from '@opengeoweb/webmap-react';
9
+ import { TIMESLIDER_NAMESPACE, timesliderTranslations, defaultTimeSpan, TIME_SLIDER_LEGEND_HEIGHT, SpeedButton, TimeStepButton, AnimationLengthButton, AnimationLength, TimeSpanButton, secondsPerPxFromCanvasWidth, getNewCenterOfFixedPointZoom, OptionsMenuButton, PlayButton, defaultTimeStep, BackwardForwardStepButton, AutoUpdateButton, NowButton, handleSetNowEvent, TimeSliderButtons, TimeSliderCurrentTimeBox, TimeSliderLegend, TimeSlider, onsetNewDateDebounced, getFilteredTime, ControlButtons, OptionsMenu, TimeSliderClock } from '@opengeoweb/timeslider';
10
+ import { WEBMAP_REACT_NAMESPACE, webmapReactTranslations, WEBMAP_NAMESPACE, webmapTranslations, LayerInfoButton, LayerInfoDialog, MapControlButton, MapDimensionSelect, dimensionConfig, DimensionSelectDialog, DimensionSelectButton, ZoomControls, MapView, MapViewLayer, LegendDialog, LegendButton, registerDrawFunction, emptyGeoJSON, MapControls, publicLayers } from '@opengeoweb/webmap-react';
11
11
  import { useDispatch, useSelector, connect, useStore, Provider } from 'react-redux';
12
12
  import { ReactSortable } from 'react-sortablejs';
13
13
  import Sortable from 'sortablejs';
@@ -1964,24 +1964,28 @@ const initCoreReactI18n = () => {
1964
1964
  en: {
1965
1965
  [CORE_NAMESPACE]: coreTranslations.en,
1966
1966
  [WEBMAP_REACT_NAMESPACE]: webmapReactTranslations.en,
1967
+ [WEBMAP_NAMESPACE]: webmapTranslations.en,
1967
1968
  [SHARED_NAMESPACE]: sharedTranslations.en,
1968
1969
  [TIMESLIDER_NAMESPACE]: timesliderTranslations.en
1969
1970
  },
1970
1971
  fi: {
1971
1972
  [CORE_NAMESPACE]: coreTranslations.fi,
1972
1973
  [WEBMAP_REACT_NAMESPACE]: webmapReactTranslations.fi,
1974
+ [WEBMAP_NAMESPACE]: webmapTranslations.fi,
1973
1975
  [SHARED_NAMESPACE]: sharedTranslations.fi,
1974
1976
  [TIMESLIDER_NAMESPACE]: timesliderTranslations.fi
1975
1977
  },
1976
1978
  no: {
1977
1979
  [CORE_NAMESPACE]: coreTranslations.no,
1978
1980
  [WEBMAP_REACT_NAMESPACE]: webmapReactTranslations.no,
1981
+ [WEBMAP_NAMESPACE]: webmapTranslations.no,
1979
1982
  [SHARED_NAMESPACE]: sharedTranslations.no,
1980
1983
  [TIMESLIDER_NAMESPACE]: timesliderTranslations.no
1981
1984
  },
1982
1985
  nl: {
1983
1986
  [CORE_NAMESPACE]: coreTranslations.nl,
1984
1987
  [WEBMAP_REACT_NAMESPACE]: webmapReactTranslations.nl,
1988
+ [WEBMAP_NAMESPACE]: webmapTranslations.nl,
1985
1989
  [SHARED_NAMESPACE]: sharedTranslations.nl,
1986
1990
  [TIMESLIDER_NAMESPACE]: timesliderTranslations.nl
1987
1991
  }
@@ -6490,79 +6494,63 @@ const HeaderOptionsConnect = ({
6490
6494
  });
6491
6495
  };
6492
6496
 
6493
- const availableProjections = [{
6494
- name: 'Europe Mercator',
6495
- value: 'EPSG:3857',
6497
+ const availableProjections = [Object.assign(Object.assign({}, PROJECTION.EPSG_3857), {
6496
6498
  bbox: {
6497
6499
  left: -1342329.1465696818,
6498
6500
  bottom: 3920707.9160590963,
6499
6501
  right: 4520696.671030318,
6500
6502
  top: 11588870.593609098
6501
6503
  }
6502
- }, {
6503
- name: 'Northern Hemisphere North Pole',
6504
- value: 'EPSG:3575',
6504
+ }), Object.assign(Object.assign({}, PROJECTION.EPSG_3575), {
6505
6505
  bbox: {
6506
6506
  left: -6974291.292427451,
6507
6507
  bottom: -4143517.10430627,
6508
6508
  right: 7160410.554092634,
6509
6509
  top: 3403105.194804561
6510
6510
  }
6511
- }, {
6512
- name: 'Sea Ice Polar Stereographic North',
6513
- value: 'EPSG:3411',
6511
+ }), Object.assign(Object.assign({}, PROJECTION.EPSG_3411), {
6514
6512
  bbox: {
6515
6513
  left: -8586591.790921725,
6516
6514
  bottom: -6905418.5308475215,
6517
6515
  right: 11520691.230089426,
6518
6516
  top: 3830009.2177224844
6519
6517
  }
6520
- }, {
6521
- name: 'Sea Ice Polar Stereographic South',
6522
- value: 'EPSG:3412',
6518
+ }), Object.assign(Object.assign({}, PROJECTION.EPSG_3412), {
6523
6519
  bbox: {
6524
6520
  left: -23805428.64174738,
6525
6521
  bottom: -13538921.571034307,
6526
6522
  right: 24880766.607377376,
6527
6523
  top: 12454999.681458568
6528
6524
  }
6529
- }, {
6530
- name: 'Europe Polar Stereographic',
6531
- value: 'EPSG:32661',
6525
+ }), Object.assign(Object.assign({}, PROJECTION.EPSG_32661), {
6532
6526
  bbox: {
6533
6527
  left: -3078812.468202346,
6534
6528
  bottom: -5551735.866551964,
6535
6529
  right: 9359725.15673533,
6536
6530
  top: 1089291.7566655697
6537
6531
  }
6538
- }, {
6539
- name: 'Europe Robinson',
6540
- value: 'EPSG:54030',
6532
+ }), Object.assign(Object.assign({}, PROJECTION.EPSG_54030), {
6541
6533
  bbox: {
6542
6534
  left: -2020532.0269369134,
6543
6535
  bottom: 4102671.9257380506,
6544
6536
  right: 3149912.1784659545,
6545
6537
  top: 6863210.489656053
6546
6538
  }
6547
- }, {
6548
- name: 'The Netherlands (28992)',
6549
- value: 'EPSG:28992',
6539
+ }), Object.assign(Object.assign({}, PROJECTION.EPSG_28992), {
6550
6540
  bbox: {
6551
6541
  left: -875225.6439854703,
6552
6542
  bottom: -36779.36485252716,
6553
6543
  right: 1356591.6745628114,
6554
6544
  top: 1154804.4779891823
6555
6545
  }
6556
- }, {
6557
- name: 'ETRS89 / TM35FIN(E,N) -- Finland',
6558
- value: 'EPSG:3067',
6546
+ }), Object.assign(Object.assign({}, PROJECTION.EPSG_3067), {
6559
6547
  bbox: {
6560
6548
  left: -1197402.0,
6561
6549
  bottom: 6439686.0,
6562
6550
  right: 2090705,
6563
6551
  top: 7975202
6564
6552
  }
6565
- }];
6553
+ })];
6566
6554
  const ProjectionSelect = ({
6567
6555
  currentProjection,
6568
6556
  onChangeProjection
@@ -8871,7 +8859,7 @@ const TimeStepButtonConnect = ({
8871
8859
  onChangeTimeStep: onSetTimeStep,
8872
8860
  disabled: isAnimating,
8873
8861
  onToggleTimestepAuto: onToggleTimestepAuto,
8874
- isTimestepAuto: Boolean(isTimestepAuto) && Boolean(timeStepFromLayer),
8862
+ isTimestepAuto: isTimestepAuto && Boolean(timeStepFromLayer),
8875
8863
  timeStepFromLayer: timeStepFromLayer
8876
8864
  });
8877
8865
  };
@@ -8934,9 +8922,11 @@ const TimeSpanButtonConnect = ({
8934
8922
  origin: mapEnums.MapActionOrigin.map
8935
8923
  }));
8936
8924
  }, [dispatch, isTimeSpanAuto, mapId]);
8937
- const onChangeTimeSliderSpan = newSliderValue => {
8938
- const newValue = newSliderValue ? Math.round(newSliderValue) : 0;
8939
- const spanInSeconds = marks$1.find(el => el.value === newValue).value;
8925
+ const onChangeTimeSliderSpan = valueInMinutes => {
8926
+ if (isTimeSpanAuto) {
8927
+ onToggleTimeSpanAuto();
8928
+ }
8929
+ const spanInSeconds = valueInMinutes * 60;
8940
8930
  const timeSliderWidth = mapSelectors.getMapTimeSliderWidth(store.getState(), mapId);
8941
8931
  const selectedTime = mapSelectors.getSelectedTime(store.getState(), mapId);
8942
8932
  const secondsPerPx = mapSelectors.getMapTimeSliderSecondsPerPx(store.getState(), mapId);
@@ -8958,12 +8948,6 @@ const TimeSpanButtonConnect = ({
8958
8948
  }));
8959
8949
  }
8960
8950
  };
8961
- const onMenuItemClick = markValue => {
8962
- if (isTimeSpanAuto) {
8963
- onToggleTimeSpanAuto();
8964
- }
8965
- onChangeTimeSliderSpan(markValue);
8966
- };
8967
8951
  const onToggleTimeSpan = () => {
8968
8952
  if (isTimeSpanAuto) {
8969
8953
  return;
@@ -8971,11 +8955,10 @@ const TimeSpanButtonConnect = ({
8971
8955
  onToggleTimeSpanAuto();
8972
8956
  };
8973
8957
  return jsx(TimeSpanButton, {
8974
- timeSliderSpan: timeSliderSpan,
8958
+ timeSliderSpan: timeSliderSpan / 60,
8975
8959
  disabled: isAnimating,
8976
8960
  onChangeSliderValue: onChangeTimeSliderSpan,
8977
8961
  onToggleTimeSpan: onToggleTimeSpan,
8978
- onMenuItemClick: onMenuItemClick,
8979
8962
  isTimeSpanAuto: Boolean(isTimeSpanAuto) && Boolean(timeStepFromLayer),
8980
8963
  layerHasTimeStep: Boolean(timeStepFromLayer)
8981
8964
  });
@@ -9583,7 +9566,7 @@ const titleStyle = theme => ({
9583
9566
  userSelect: 'none'
9584
9567
  });
9585
9568
  const defaultBbox = {
9586
- srs: 'EPSG:3857',
9569
+ srs: PROJECTION.EPSG_3857.value,
9587
9570
  bbox: {
9588
9571
  left: 58703.6377,
9589
9572
  bottom: 6408480.4514,
@@ -9618,9 +9601,10 @@ const ConfigurableMapConnect = _a => {
9618
9601
  shouldDisplayDrawControls = false,
9619
9602
  displaySearchButtonInMap = false,
9620
9603
  mapControls,
9621
- children
9604
+ children,
9605
+ shouldDisablePrefetching
9622
9606
  } = _a,
9623
- props = __rest(_a, ["id", "dockedLayerManagerSize", "title", "layers", "dimensions", "shouldAutoUpdate", "shouldAnimate", "shouldAutoFetch", "bbox", "srs", "shouldShowZoomControls", "displayMapPin", "showTimeSlider", "disableTimeSlider", "displayTimeInMap", "displayLayerManagerAndLegendButtonInMap", "displayDimensionSelectButtonInMap", "multiLegend", "shouldShowLayerManager", "shouldShowDockedLayerManager", "showClock", "displayGetFeatureInfoButtonInMap", "shouldDisplayDrawControls", "displaySearchButtonInMap", "mapControls", "children"]);
9607
+ props = __rest(_a, ["id", "dockedLayerManagerSize", "title", "layers", "dimensions", "shouldAutoUpdate", "shouldAnimate", "shouldAutoFetch", "bbox", "srs", "shouldShowZoomControls", "displayMapPin", "showTimeSlider", "disableTimeSlider", "displayTimeInMap", "displayLayerManagerAndLegendButtonInMap", "displayDimensionSelectButtonInMap", "multiLegend", "shouldShowLayerManager", "shouldShowDockedLayerManager", "showClock", "displayGetFeatureInfoButtonInMap", "shouldDisplayDrawControls", "displaySearchButtonInMap", "mapControls", "children", "shouldDisablePrefetching"]);
9624
9608
  const dispatch = useDispatch();
9625
9609
  const mapId = React__default.useRef(id || webmapUtils.generateMapId()).current;
9626
9610
  React__default.useEffect(() => {
@@ -9735,7 +9719,8 @@ const ConfigurableMapConnect = _a => {
9735
9719
  displayTimeInMap: displayTimeInMap,
9736
9720
  showScaleBar: false,
9737
9721
  shouldAutoFetch: shouldAutoFetch,
9738
- mapId: mapId
9722
+ mapId: mapId,
9723
+ shouldDisablePrefetching: shouldDisablePrefetching
9739
9724
  }, {
9740
9725
  children: children
9741
9726
  })), multiLegend && jsx(LegendConnect, {
@@ -9755,7 +9740,7 @@ const ConfigurableMapConnect = _a => {
9755
9740
  isDocked: true
9756
9741
  })]
9757
9742
  }));
9758
- }, [children, disableTimeSlider, displayDimensionSelectButtonInMap, displayGetFeatureInfoButtonInMap, displayLayerManagerAndLegendButtonInMap, displaySearchButtonInMap, displayTimeInMap, id, mapControls, mapControlsPositionTop, mapId, multiLegend, showClock, shouldAutoFetch, title]);
9743
+ }, [children, disableTimeSlider, displayDimensionSelectButtonInMap, displayGetFeatureInfoButtonInMap, displayLayerManagerAndLegendButtonInMap, displaySearchButtonInMap, displayTimeInMap, id, mapControls, mapControlsPositionTop, mapId, multiLegend, showClock, shouldAutoFetch, title, shouldDisablePrefetching]);
9759
9744
  };
9760
9745
 
9761
9746
  var uncurryThis$1 = functionUncurryThis;
@@ -10040,7 +10025,8 @@ const MultiMapViewConnect = ({
10040
10025
  showTimeSlider: false,
10041
10026
  disableTimeSlider: true,
10042
10027
  showClock: false,
10043
- multiLegend: _multiLegend
10028
+ multiLegend: _multiLegend,
10029
+ shouldDisablePrefetching: map.componentType === 'MultiMap'
10044
10030
  })
10045
10031
  }), mapId);
10046
10032
  })]
@@ -10092,7 +10078,8 @@ const makeMapPreset = (timeIncrement, uniqueId, referenceTime, layers, syncGroup
10092
10078
  right: 1215891.3289626688,
10093
10079
  top: 7540256.313079321
10094
10080
  },
10095
- srs: 'EPSG:3857',
10081
+ srs: PROJECTION.EPSG_3857.value,
10082
+ componentType: 'MultiMap',
10096
10083
  layers: layers.map((layer, index) => Object.assign(Object.assign({}, layer), {
10097
10084
  id: `${uniqueId}-${index}`,
10098
10085
  dimensions: [{
@@ -10183,7 +10170,8 @@ const HarmonieTempAndPrecipPreset = ({
10183
10170
  right: 1428345.8183648037,
10184
10171
  top: 7438773.776232235
10185
10172
  },
10186
- srs: 'EPSG:3857',
10173
+ srs: PROJECTION.EPSG_3857.value,
10174
+ componentType: 'MultiMap',
10187
10175
  layers: [Object.assign(Object.assign({}, layer), {
10188
10176
  id: uniqueId,
10189
10177
  dimensions: [{
@@ -10272,7 +10260,8 @@ const componentsLookUp = ({
10272
10260
  autoUpdateLayerId,
10273
10261
  autoTimeStepLayerId,
10274
10262
  bbox: (_b = (_a = mapPreset[0]) === null || _a === void 0 ? void 0 : _a.proj) === null || _b === void 0 ? void 0 : _b.bbox,
10275
- srs: (_d = (_c = mapPreset[0]) === null || _c === void 0 ? void 0 : _c.proj) === null || _d === void 0 ? void 0 : _d.srs
10263
+ srs: (_d = (_c = mapPreset[0]) === null || _c === void 0 ? void 0 : _c.proj) === null || _d === void 0 ? void 0 : _d.srs,
10264
+ componentType: 'MultiMap'
10276
10265
  };
10277
10266
  }),
10278
10267
  "data-testid": "coreMultiMapViewConnect"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/core",
3
- "version": "9.25.3",
3
+ "version": "9.27.0",
4
4
  "description": "GeoWeb Core library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -32,7 +32,9 @@
32
32
  "@sentry/react": "^7.109.0"
33
33
  },
34
34
  "peerDependencies": {
35
- "react": "18"
35
+ "react": "18",
36
+ "@emotion/react": "*",
37
+ "@emotion/styled": "*"
36
38
  },
37
39
  "module": "./index.esm.js",
38
40
  "type": "module",
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mapTypes } from '@opengeoweb/store';
3
+ import { PlotPreset, TimeSeriesService } from '@opengeoweb/shared';
3
4
  import { InitialHarmTempAndPrecipProps } from '../MultiMapViewConnect/HarmoniePresets';
4
5
  import { ModelRunIntervalProps } from '../MultiMapViewConnect/ModelRunInterval';
5
6
  interface InitialMultiMapProps {
@@ -20,7 +21,11 @@ export interface InitialMapProps {
20
21
  shouldDisplayDrawControls?: boolean;
21
22
  displaySearchButtonInMap?: boolean;
22
23
  }
23
- export type InitialProps = InitialMapProps | InitialMultiMapProps | InitialHarmTempAndPrecipProps | ModelRunIntervalProps | mapTypes.MapPresetInitialProps | InitialSliderProps;
24
+ export interface InitialTimeSeriesProps {
25
+ plotPreset: PlotPreset;
26
+ services: TimeSeriesService[];
27
+ }
28
+ export type InitialProps = InitialMapProps | InitialMultiMapProps | InitialHarmTempAndPrecipProps | ModelRunIntervalProps | mapTypes.MapPresetInitialProps | InitialSliderProps | InitialTimeSeriesProps;
24
29
  /**
25
30
  * The lookup table is for registering your own components with the workspace.
26
31
  * @param payload
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { mapTypes, layerTypes } from '@opengeoweb/store';
3
3
  export declare const defaultBbox: {
4
- srs: string;
4
+ srs: "EPSG:3857";
5
5
  bbox: {
6
6
  left: number;
7
7
  bottom: number;
@@ -40,5 +40,6 @@ export interface ConfigurableMapConnectProps {
40
40
  displaySearchButtonInMap?: boolean;
41
41
  children?: React.ReactNode;
42
42
  mapControls?: React.ReactNode;
43
+ shouldDisablePrefetching?: boolean;
43
44
  }
44
45
  export declare const ConfigurableMapConnect: React.FC<ConfigurableMapConnectProps>;
@@ -13,6 +13,7 @@ export interface MultiMapPreset {
13
13
  displayLayerManagerAndLegendButtonInMap?: boolean;
14
14
  displayDimensionSelectButtonInMap?: boolean;
15
15
  syncGroupsIds?: string[];
16
+ componentType?: string;
16
17
  }
17
18
  export interface MultiMapViewProps {
18
19
  rows: number;
@@ -15,7 +15,7 @@ export declare const mapPresetRadar: {
15
15
  right: number;
16
16
  top: number;
17
17
  };
18
- srs: string;
18
+ srs: "EPSG:3857";
19
19
  };
20
20
  };
21
21
  export declare const mapPresetObsTA: {
@@ -32,7 +32,7 @@ export declare const mapPresetObsTA: {
32
32
  right: number;
33
33
  top: number;
34
34
  };
35
- srs: string;
35
+ srs: "EPSG:3857";
36
36
  };
37
37
  };
38
38
  export declare const mapPresetObsWind: {
@@ -49,7 +49,7 @@ export declare const mapPresetObsWind: {
49
49
  right: number;
50
50
  top: number;
51
51
  };
52
- srs: string;
52
+ srs: "EPSG:3857";
53
53
  };
54
54
  };
55
55
  export declare const mapPresetObsPP: {
@@ -66,7 +66,7 @@ export declare const mapPresetObsPP: {
66
66
  right: number;
67
67
  top: number;
68
68
  };
69
- srs: string;
69
+ srs: "EPSG:3857";
70
70
  };
71
71
  };
72
72
  export declare const mapPresetObsRH: {
@@ -83,7 +83,7 @@ export declare const mapPresetObsRH: {
83
83
  right: number;
84
84
  top: number;
85
85
  };
86
- srs: string;
86
+ srs: "EPSG:3857";
87
87
  };
88
88
  };
89
89
  export declare const mapPresetObsQG: {
@@ -100,7 +100,7 @@ export declare const mapPresetObsQG: {
100
100
  right: number;
101
101
  top: number;
102
102
  };
103
- srs: string;
103
+ srs: "EPSG:3857";
104
104
  };
105
105
  };
106
106
  export declare const mapPresetEumetsat: {
@@ -118,7 +118,7 @@ export declare const mapPresetEumetsat: {
118
118
  right: number;
119
119
  top: number;
120
120
  };
121
- srs: string;
121
+ srs: "EPSG:3857";
122
122
  };
123
123
  };
124
124
  export declare const mapPresetHarmoniePrecipitationFlux: {
@@ -136,7 +136,7 @@ export declare const mapPresetHarmoniePrecipitationFlux: {
136
136
  right: number;
137
137
  top: number;
138
138
  };
139
- srs: string;
139
+ srs: "EPSG:3857";
140
140
  };
141
141
  };
142
142
  export declare const mapPresetHarmonieTemperature2m: {
@@ -154,7 +154,7 @@ export declare const mapPresetHarmonieTemperature2m: {
154
154
  right: number;
155
155
  top: number;
156
156
  };
157
- srs: string;
157
+ srs: "EPSG:3857";
158
158
  };
159
159
  };
160
160
  export declare const mapPresetHarmoniePressureMSL: {
@@ -172,6 +172,6 @@ export declare const mapPresetHarmoniePressureMSL: {
172
172
  right: number;
173
173
  top: number;
174
174
  };
175
- srs: string;
175
+ srs: "EPSG:3857";
176
176
  };
177
177
  };