@opengeoweb/data-explorer 20.1.0 → 20.2.0-nightly-20261022
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 +3 -3
- package/package.json +9 -9
package/dist/index.esm.js
CHANGED
|
@@ -4,14 +4,14 @@ import { useDispatch, useSelector } from 'react-redux';
|
|
|
4
4
|
import { mapListener, serviceListener, layersListener, syncGroupsListener, genericListener, uiReducer, syncGroupsReducer, layerReducer, serviceReducer, mapReducer, uiSelectors, uiTypes, uiActions, layerActions, layerTypes, layerSelectors, useSetupDialog } from '@opengeoweb/store';
|
|
5
5
|
import { Box, Typography, Autocomplete, TextField, useTheme, ListItem, ListItemButton, ListItemIcon, Checkbox, ListItemText, Switch, List, Grid, Tooltip, LinearProgress, Link, IconButton, Accordion, AccordionSummary, AccordionDetails } from '@mui/material';
|
|
6
6
|
import { PROJECTION, useDebounce, CustomIconButton, CustomTooltip, CustomToggleButton, CustomAccordion, SearchField, SearchHighlight, renderCounter, useWheelStopPropagation, ToolContainerDraggable, AlertBanner, ErrorBoundary } from '@opengeoweb/shared';
|
|
7
|
-
import { center, bbox } from '@turf/turf';
|
|
7
|
+
import { center, bbox, round } from '@turf/turf';
|
|
8
8
|
import { debounce } from 'lodash';
|
|
9
9
|
import { View } from 'ol';
|
|
10
10
|
import GeoJSON from 'ol/format/GeoJSON';
|
|
11
11
|
import { unByKey } from 'ol/Observable';
|
|
12
12
|
import { transformExtent, transform, fromLonLat } from 'ol/proj';
|
|
13
13
|
import { LayerType, webmapUtils } from '@opengeoweb/webmap';
|
|
14
|
-
import { OpenLayersMapView, MapControls, OpenLayersZoomControl, OpenLayersFeatureLayer, genericOpenLayersFeatureStyle, OpenLayersLayer, DefaultBaseLayers, WMSLayer, useQueryGetWMSGetCapabilities } from '@opengeoweb/webmap-react';
|
|
14
|
+
import { OpenLayersMapView, MapControls, OpenLayersZoomControl, OpenLayersFeatureLayer, genericOpenLayersFeatureStyle, OpenLayersLayer, COORDINATE_DECIMALS, DefaultBaseLayers, WMSLayer, useQueryGetWMSGetCapabilities } from '@opengeoweb/webmap-react';
|
|
15
15
|
import { useLocationList, useLocationDetail } from '@opengeoweb/core';
|
|
16
16
|
import { Close, Info, ExitDomain, Link as Link$1, Copy, ChevronDown } from '@opengeoweb/theme';
|
|
17
17
|
import { t } from 'i18next';
|
|
@@ -10720,7 +10720,7 @@ const InfoDialogGeographicalCoverage = ({
|
|
|
10720
10720
|
const {
|
|
10721
10721
|
t
|
|
10722
10722
|
} = useDataExplorerTranslation();
|
|
10723
|
-
const [west, south, east, north] = bbox(geometry);
|
|
10723
|
+
const [west, south, east, north] = bbox(geometry).map(bound => round(bound, COORDINATE_DECIMALS));
|
|
10724
10724
|
return jsxs(Grid, {
|
|
10725
10725
|
container: true,
|
|
10726
10726
|
"data-testid": "infoDialogGeographicalCoverage",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/data-explorer",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.2.0-nightly-20261022",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@mui/material": "^9.0.1",
|
|
22
|
-
"@opengeoweb/api": "20.
|
|
23
|
-
"@opengeoweb/core": "20.
|
|
24
|
-
"@opengeoweb/shared": "20.
|
|
25
|
-
"@opengeoweb/snackbar": "20.
|
|
26
|
-
"@opengeoweb/store": "20.
|
|
27
|
-
"@opengeoweb/theme": "20.
|
|
28
|
-
"@opengeoweb/webmap": "20.
|
|
29
|
-
"@opengeoweb/webmap-react": "20.
|
|
22
|
+
"@opengeoweb/api": "20.2.0-nightly-20261022",
|
|
23
|
+
"@opengeoweb/core": "20.2.0-nightly-20261022",
|
|
24
|
+
"@opengeoweb/shared": "20.2.0-nightly-20261022",
|
|
25
|
+
"@opengeoweb/snackbar": "20.2.0-nightly-20261022",
|
|
26
|
+
"@opengeoweb/store": "20.2.0-nightly-20261022",
|
|
27
|
+
"@opengeoweb/theme": "20.2.0-nightly-20261022",
|
|
28
|
+
"@opengeoweb/webmap": "20.2.0-nightly-20261022",
|
|
29
|
+
"@opengeoweb/webmap-react": "20.2.0-nightly-20261022",
|
|
30
30
|
"@reduxjs/toolkit": "^2.6.1",
|
|
31
31
|
"@tanstack/query-core": "^5.69.2",
|
|
32
32
|
"@tanstack/react-query": "^5.85.5",
|