@opengeoweb/webmap 9.32.1 → 9.33.1-spike-ol.3
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { compact, range, debounce, throttle, isEqual } from 'lodash';
|
|
2
2
|
import { PROJECTION, dateUtils, defaultDelay as defaultDelay$1 } from '@opengeoweb/shared';
|
|
3
3
|
import proj4 from 'proj4';
|
|
4
|
-
import
|
|
4
|
+
import 'i18next';
|
|
5
5
|
|
|
6
6
|
var en = {
|
|
7
7
|
"map-projection": "Map projection",
|
|
@@ -5683,11 +5683,9 @@ const makeNodeLayerFromWMSGetCapabilityLayer = (layer, path = [], isleaf = false
|
|
|
5683
5683
|
const geographicBoundingBox = nestedLayerPath.reverse().reduce((p, c) => {
|
|
5684
5684
|
return p || c.geographicBoundingBox;
|
|
5685
5685
|
}, addBoundingBoxForLayer(layer));
|
|
5686
|
-
const dimensions = nestedLayerPath.reverse().reduce((
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
}
|
|
5690
|
-
return c.dimensions || [];
|
|
5686
|
+
const dimensions = nestedLayerPath.reverse().reduce((dims, props) => {
|
|
5687
|
+
const parentDims = (props.dimensions || []).filter(dim => !dims.some(d => d.name === dim.name));
|
|
5688
|
+
return [...parentDims, ...dims];
|
|
5691
5689
|
}, addDimensionsForLayer(layer));
|
|
5692
5690
|
const styles = nestedLayerPath.reverse().reduce((p, c) => {
|
|
5693
5691
|
if (c.styles && Array.isArray(c.styles) && c.styles.length) {
|
|
@@ -11168,6 +11166,7 @@ class WMCanvasBuffer {
|
|
|
11168
11166
|
this._errorList = [];
|
|
11169
11167
|
this._animationFrameRequest = ANIMATIONFRAMEREQUEST_DONE;
|
|
11170
11168
|
this._isBufferLoading = false;
|
|
11169
|
+
this._timerHandle = undefined;
|
|
11171
11170
|
}
|
|
11172
11171
|
/**
|
|
11173
11172
|
* Triggered by the WMImageStore when an image completes loading
|
|
@@ -11535,28 +11534,6 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
11535
11534
|
};
|
|
11536
11535
|
|
|
11537
11536
|
const WEBMAP_NAMESPACE = 'webmap';
|
|
11538
|
-
// do not use `initReactI18next` as this is not a react library
|
|
11539
|
-
void i18n.init({
|
|
11540
|
-
lng: 'en',
|
|
11541
|
-
ns: WEBMAP_NAMESPACE,
|
|
11542
|
-
interpolation: {
|
|
11543
|
-
escapeValue: false
|
|
11544
|
-
},
|
|
11545
|
-
resources: {
|
|
11546
|
-
en: {
|
|
11547
|
-
[WEBMAP_NAMESPACE]: webmapTranslations.en
|
|
11548
|
-
},
|
|
11549
|
-
fi: {
|
|
11550
|
-
[WEBMAP_NAMESPACE]: webmapTranslations.fi
|
|
11551
|
-
},
|
|
11552
|
-
no: {
|
|
11553
|
-
[WEBMAP_NAMESPACE]: webmapTranslations.no
|
|
11554
|
-
},
|
|
11555
|
-
nl: {
|
|
11556
|
-
[WEBMAP_NAMESPACE]: webmapTranslations.nl
|
|
11557
|
-
}
|
|
11558
|
-
}
|
|
11559
|
-
});
|
|
11560
11537
|
const translateKeyOutsideComponents = (t, key, params = undefined) => t ? t(key, Object.assign({
|
|
11561
11538
|
ns: WEBMAP_NAMESPACE
|
|
11562
11539
|
}, params)) : key;
|
|
@@ -12066,6 +12043,7 @@ class WMJSAnimate {
|
|
|
12066
12043
|
_WMJSAnimate_instances.add(this);
|
|
12067
12044
|
this.isNextTimeCloseToWallClockTime = false;
|
|
12068
12045
|
_map.animationDelay = 100;
|
|
12046
|
+
this.animateBusy = false;
|
|
12069
12047
|
this._callBack = _map.getListener();
|
|
12070
12048
|
this._divAnimationInfo = document.createElement('div');
|
|
12071
12049
|
_map.currentAnimationStep = 0;
|
|
@@ -14162,6 +14140,7 @@ class WMJSMap {
|
|
|
14162
14140
|
this.mapPanning = 0;
|
|
14163
14141
|
this.mapPanStartGeoCoords = undefined;
|
|
14164
14142
|
this._mapZooming = 0;
|
|
14143
|
+
this.holdShiftToScroll = false;
|
|
14165
14144
|
if (proj4) {
|
|
14166
14145
|
proj4.defs(WMProj4Defs);
|
|
14167
14146
|
}
|
package/package.json
CHANGED
package/src/lib/utils/i18n.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import i18n, { TFunction } from 'i18next';
|
|
2
2
|
export declare const WEBMAP_NAMESPACE = "webmap";
|
|
3
|
+
export declare const initWebmapTestI18n: () => void;
|
|
3
4
|
export { i18n };
|
|
4
5
|
export declare const translateKeyOutsideComponents: (t: TFunction | undefined, key: string, params?: Record<string, string | number> | undefined) => string;
|
package/src/lib/utils/specs/WMS130GetCapabilitiesRadarTestWithInheritAndReplaceLayerprops.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<WMS_Capabilities xmlns=\"http://www.opengis.net/wms\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" version=\"1.3.0\" updateSequence=\"0\" xsi:schemaLocation=\"http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd\">\n <Service>\n <Name>WMS</Name>\n <Title>RADAR</Title>\n <Abstract>This service demonstrates how the ADAGUC server can be used to create OGC services.</Abstract>\n <KeywordList>\n <Keyword>view</Keyword>\n <Keyword>infoMapAccessService</Keyword>\n <Keyword>ADAGUCServer version 2.5.8, of Apr 13 2021 07:55:43</Keyword>\n </KeywordList>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n <ContactInformation />\n <Fees>no conditions apply</Fees>\n <AccessConstraints>None</AccessConstraints>\n <MaxWidth>8192</MaxWidth>\n <MaxHeight>8192</MaxHeight>\n </Service>\n <Capability>\n <Request>\n <GetCapabilities>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xlink:type=\"simple\" 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/png;mode=8bit</Format>\n <Format>image/png;mode=8bit_noalpha</Format>\n <Format>image/png;mode=24bit</Format>\n <Format>image/png;mode=32bit</Format>\n <Format>image/gif</Format>\n <Format>image/jpeg</Format>\n <!--<Format>image/webp</Format>-->\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetMap>\n <GetFeatureInfo>\n <Format>image/png</Format>\n <Format>text/plain</Format>\n <Format>text/html</Format>\n <Format>text/xml</Format>\n <Format>application/json</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetFeatureInfo>\n </Request>\n <Exception>\n <Format>XML</Format>\n <Format>INIMAGE</Format>\n <Format>BLANK</Format>\n </Exception>\n <UserDefinedSymbolization SupportSLD=\"1\" />\n <Layer>\n <Title>WMS of RADAR</Title>\n <CRS>EPSG:3411</CRS>\n <CRS>EPSG:3412</CRS>\n <CRS>EPSG:3575</CRS>\n <CRS>EPSG:3857</CRS>\n <CRS>EPSG:4258</CRS>\n <CRS>EPSG:4326</CRS>\n <CRS>CRS:84</CRS>\n <CRS>EPSG:25831</CRS>\n <CRS>EPSG:25832</CRS>\n <CRS>EPSG:28992</CRS>\n <CRS>EPSG:7399</CRS>\n <CRS>EPSG:50001</CRS>\n <CRS>EPSG:54030</CRS>\n <CRS>EPSG:32661</CRS>\n <CRS>EPSG:40000</CRS>\n <CRS>EPSG:900913</CRS>\n <CRS>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</CRS>\n <BoundingBox CRS=\"EPSG:3411\" minx=\"2682754.743620\" miny=\"-3245034.014141\" maxx=\"3759536.917562\" maxy=\"-2168251.989038\" />\n <BoundingBox CRS=\"EPSG:3412\" minx=\"0.000000\" miny=\"32318824.826266\" maxx=\"7413041.166015\" maxy=\"40075258.815074\" />\n <BoundingBox CRS=\"EPSG:3575\" minx=\"-770622.801471\" miny=\"-4485814.811314\" maxx=\"56845.766135\" maxy=\"-3684039.443620\" />\n <BoundingBox CRS=\"EPSG:3857\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <BoundingBox CRS=\"EPSG:4258\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"EPSG:4326\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"CRS:84\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"EPSG:25831\" minx=\"282182.345905\" miny=\"5433247.394267\" maxx=\"997135.658653\" maxy=\"6207204.592736\" />\n <BoundingBox CRS=\"EPSG:25832\" minx=\"-153083.019482\" miny=\"5415817.312927\" maxx=\"617595.626092\" maxy=\"6239769.309937\" />\n <BoundingBox CRS=\"EPSG:28992\" minx=\"-236275.338083\" miny=\"106727.731651\" maxx=\"501527.918656\" maxy=\"900797.079725\" />\n <BoundingBox CRS=\"EPSG:7399\" minx=\"0.000000\" miny=\"5757301.056717\" maxx=\"763611.971696\" maxy=\"6483919.801602\" />\n <BoundingBox CRS=\"EPSG:50001\" minx=\"-2000000.000000\" miny=\"-2000000.000000\" maxx=\"10000000.000000\" maxy=\"8500000.000000\" />\n <BoundingBox CRS=\"EPSG:54030\" minx=\"0.000000\" miny=\"5211855.054125\" maxx=\"853649.695106\" maxy=\"5936394.291427\" />\n <BoundingBox CRS=\"EPSG:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\n <BoundingBox CRS=\"EPSG:40000\" minx=\"0.000000\" miny=\"-4731695.771951\" maxx=\"750214.326339\" maxy=\"-3911817.119426\" />\n <BoundingBox CRS=\"EPSG:900913\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <BoundingBox CRS=\"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 <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 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 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 <Dimension name=\"time\" units=\"ISO8601\" default=\"2021-05-14T07:35:00Z\" multipleValues=\"1\" nearestValue=\"0\" current=\"1\">2021-03-31T09:25:00Z/2021-05-14T07:35:00Z/PT5M</Dimension>\n <Layer queryable=\"1\" opaque=\"1\" cascaded=\"0\">\n <Name>RAD_NL25_PCP_CM-inherited</Name>\n <Title>Precipitation Radar NL</Title>\n <EX_GeographicBoundingBox>\n <westBoundLongitude>0.000000</westBoundLongitude>\n <eastBoundLongitude>10.856452</eastBoundLongitude>\n https://stackoverflow.com/questions/62249737/how-to-read-xml-filetoolsbox-xml-in-react-typescript\n <southBoundLatitude>48.895303</southBoundLatitude>\n <northBoundLatitude>55.973600</northBoundLatitude>\n </EX_GeographicBoundingBox>\n <BoundingBox CRS=\"EPSG:3411\" minx=\"2682754.743620\" miny=\"-3245034.014141\" maxx=\"3759536.917562\" maxy=\"-2168251.989038\" />\n <BoundingBox CRS=\"EPSG:3412\" minx=\"0.000000\" miny=\"32318824.826266\" maxx=\"7413041.166015\" maxy=\"40075258.815074\" />\n <BoundingBox CRS=\"EPSG:3575\" minx=\"-770622.801471\" miny=\"-4485814.811314\" maxx=\"56845.766135\" maxy=\"-3684039.443620\" />\n <BoundingBox CRS=\"EPSG:3857\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <BoundingBox CRS=\"EPSG:4258\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"EPSG:4326\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"CRS:84\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"EPSG:25831\" minx=\"282182.345905\" miny=\"5433247.394267\" maxx=\"997135.658653\" maxy=\"6207204.592736\" />\n <BoundingBox CRS=\"EPSG:25832\" minx=\"-153083.019482\" miny=\"5415817.312927\" maxx=\"617595.626092\" maxy=\"6239769.309937\" />\n <BoundingBox CRS=\"EPSG:28992\" minx=\"-236275.338083\" miny=\"106727.731651\" maxx=\"501527.918656\" maxy=\"900797.079725\" />\n <BoundingBox CRS=\"EPSG:7399\" minx=\"0.000000\" miny=\"5757301.056717\" maxx=\"763611.971696\" maxy=\"6483919.801602\" />\n <BoundingBox CRS=\"EPSG:50001\" minx=\"-2000000.000000\" miny=\"-2000000.000000\" maxx=\"10000000.000000\" maxy=\"8500000.000000\" />\n <BoundingBox CRS=\"EPSG:54030\" minx=\"0.000000\" miny=\"5211855.054125\" maxx=\"853649.695106\" maxy=\"5936394.291427\" />\n <BoundingBox CRS=\"EPSG:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\n <BoundingBox CRS=\"EPSG:40000\" minx=\"0.000000\" miny=\"-4731695.771951\" maxx=\"750214.326339\" maxy=\"-3911817.119426\" />\n <BoundingBox CRS=\"EPSG:900913\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <BoundingBox CRS=\"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 \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 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 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 <Dimension name=\"time\" units=\"ISO8601\" default=\"2022-06-01T00:00:00Z\" multipleValues=\"1\" nearestValue=\"0\" current=\"1\">2022-01-01T00:00:00Z/2023-01-01T00:00:00Z/PT5M</Dimension>\n </Layer>\n </Layer>\n </Capability>\n</WMS_Capabilities>";
|
|
1
|
+
declare const _default: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<WMS_Capabilities xmlns=\"http://www.opengis.net/wms\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" version=\"1.3.0\" updateSequence=\"0\" xsi:schemaLocation=\"http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd\">\n <Service>\n <Name>WMS</Name>\n <Title>RADAR</Title>\n <Abstract>This service demonstrates how the ADAGUC server can be used to create OGC services.</Abstract>\n <KeywordList>\n <Keyword>view</Keyword>\n <Keyword>infoMapAccessService</Keyword>\n <Keyword>ADAGUCServer version 2.5.8, of Apr 13 2021 07:55:43</Keyword>\n </KeywordList>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n <ContactInformation />\n <Fees>no conditions apply</Fees>\n <AccessConstraints>None</AccessConstraints>\n <MaxWidth>8192</MaxWidth>\n <MaxHeight>8192</MaxHeight>\n </Service>\n <Capability>\n <Request>\n <GetCapabilities>\n <Format>text/xml</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xlink:type=\"simple\" 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/png;mode=8bit</Format>\n <Format>image/png;mode=8bit_noalpha</Format>\n <Format>image/png;mode=24bit</Format>\n <Format>image/png;mode=32bit</Format>\n <Format>image/gif</Format>\n <Format>image/jpeg</Format>\n <!--<Format>image/webp</Format>-->\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetMap>\n <GetFeatureInfo>\n <Format>image/png</Format>\n <Format>text/plain</Format>\n <Format>text/html</Format>\n <Format>text/xml</Format>\n <Format>application/json</Format>\n <DCPType>\n <HTTP>\n <Get>\n <OnlineResource xlink:type=\"simple\" xlink:href=\"https://geoservices.knmi.nl/wms?DATASET=RADAR&SERVICE=WMS&\" />\n </Get>\n </HTTP>\n </DCPType>\n </GetFeatureInfo>\n </Request>\n <Exception>\n <Format>XML</Format>\n <Format>INIMAGE</Format>\n <Format>BLANK</Format>\n </Exception>\n <UserDefinedSymbolization SupportSLD=\"1\" />\n <Layer>\n <Title>WMS of RADAR</Title>\n <CRS>EPSG:3411</CRS>\n <CRS>EPSG:3412</CRS>\n <CRS>EPSG:3575</CRS>\n <CRS>EPSG:3857</CRS>\n <CRS>EPSG:4258</CRS>\n <CRS>EPSG:4326</CRS>\n <CRS>CRS:84</CRS>\n <CRS>EPSG:25831</CRS>\n <CRS>EPSG:25832</CRS>\n <CRS>EPSG:28992</CRS>\n <CRS>EPSG:7399</CRS>\n <CRS>EPSG:50001</CRS>\n <CRS>EPSG:54030</CRS>\n <CRS>EPSG:32661</CRS>\n <CRS>EPSG:40000</CRS>\n <CRS>EPSG:900913</CRS>\n <CRS>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</CRS>\n <BoundingBox CRS=\"EPSG:3411\" minx=\"2682754.743620\" miny=\"-3245034.014141\" maxx=\"3759536.917562\" maxy=\"-2168251.989038\" />\n <BoundingBox CRS=\"EPSG:3412\" minx=\"0.000000\" miny=\"32318824.826266\" maxx=\"7413041.166015\" maxy=\"40075258.815074\" />\n <BoundingBox CRS=\"EPSG:3575\" minx=\"-770622.801471\" miny=\"-4485814.811314\" maxx=\"56845.766135\" maxy=\"-3684039.443620\" />\n <BoundingBox CRS=\"EPSG:3857\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <BoundingBox CRS=\"EPSG:4258\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"EPSG:4326\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"CRS:84\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"EPSG:25831\" minx=\"282182.345905\" miny=\"5433247.394267\" maxx=\"997135.658653\" maxy=\"6207204.592736\" />\n <BoundingBox CRS=\"EPSG:25832\" minx=\"-153083.019482\" miny=\"5415817.312927\" maxx=\"617595.626092\" maxy=\"6239769.309937\" />\n <BoundingBox CRS=\"EPSG:28992\" minx=\"-236275.338083\" miny=\"106727.731651\" maxx=\"501527.918656\" maxy=\"900797.079725\" />\n <BoundingBox CRS=\"EPSG:7399\" minx=\"0.000000\" miny=\"5757301.056717\" maxx=\"763611.971696\" maxy=\"6483919.801602\" />\n <BoundingBox CRS=\"EPSG:50001\" minx=\"-2000000.000000\" miny=\"-2000000.000000\" maxx=\"10000000.000000\" maxy=\"8500000.000000\" />\n <BoundingBox CRS=\"EPSG:54030\" minx=\"0.000000\" miny=\"5211855.054125\" maxx=\"853649.695106\" maxy=\"5936394.291427\" />\n <BoundingBox CRS=\"EPSG:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\n <BoundingBox CRS=\"EPSG:40000\" minx=\"0.000000\" miny=\"-4731695.771951\" maxx=\"750214.326339\" maxy=\"-3911817.119426\" />\n <BoundingBox CRS=\"EPSG:900913\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <BoundingBox CRS=\"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 <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 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 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 <Dimension name=\"time\" units=\"ISO8601\" default=\"2021-05-14T07:35:00Z\" multipleValues=\"1\" nearestValue=\"0\" current=\"1\">2021-03-31T09:25:00Z/2021-05-14T07:35:00Z/PT5M</Dimension>\n <Dimension name=\"elevation\" units=\"PRESSURE\" unitSymbol=\"Pa\" default=\"100000\" multipleValues=\"0\" nearestValue=\"0\">100000,92500,85000,70000,60000,50000,40000,30000,25000</Dimension>\n <Layer queryable=\"1\" opaque=\"1\" cascaded=\"0\">\n <Name>RAD_NL25_PCP_CM-inherited</Name>\n <Title>Precipitation Radar NL</Title>\n <EX_GeographicBoundingBox>\n <westBoundLongitude>0.000000</westBoundLongitude>\n <eastBoundLongitude>10.856452</eastBoundLongitude>\n https://stackoverflow.com/questions/62249737/how-to-read-xml-filetoolsbox-xml-in-react-typescript\n <southBoundLatitude>48.895303</southBoundLatitude>\n <northBoundLatitude>55.973600</northBoundLatitude>\n </EX_GeographicBoundingBox>\n <BoundingBox CRS=\"EPSG:3411\" minx=\"2682754.743620\" miny=\"-3245034.014141\" maxx=\"3759536.917562\" maxy=\"-2168251.989038\" />\n <BoundingBox CRS=\"EPSG:3412\" minx=\"0.000000\" miny=\"32318824.826266\" maxx=\"7413041.166015\" maxy=\"40075258.815074\" />\n <BoundingBox CRS=\"EPSG:3575\" minx=\"-770622.801471\" miny=\"-4485814.811314\" maxx=\"56845.766135\" maxy=\"-3684039.443620\" />\n <BoundingBox CRS=\"EPSG:3857\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <BoundingBox CRS=\"EPSG:4258\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"EPSG:4326\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"CRS:84\" minx=\"48.895303\" miny=\"0.000000\" maxx=\"55.973600\" maxy=\"10.856452\" />\n <BoundingBox CRS=\"EPSG:25831\" minx=\"282182.345905\" miny=\"5433247.394267\" maxx=\"997135.658653\" maxy=\"6207204.592736\" />\n <BoundingBox CRS=\"EPSG:25832\" minx=\"-153083.019482\" miny=\"5415817.312927\" maxx=\"617595.626092\" maxy=\"6239769.309937\" />\n <BoundingBox CRS=\"EPSG:28992\" minx=\"-236275.338083\" miny=\"106727.731651\" maxx=\"501527.918656\" maxy=\"900797.079725\" />\n <BoundingBox CRS=\"EPSG:7399\" minx=\"0.000000\" miny=\"5757301.056717\" maxx=\"763611.971696\" maxy=\"6483919.801602\" />\n <BoundingBox CRS=\"EPSG:50001\" minx=\"-2000000.000000\" miny=\"-2000000.000000\" maxx=\"10000000.000000\" maxy=\"8500000.000000\" />\n <BoundingBox CRS=\"EPSG:54030\" minx=\"0.000000\" miny=\"5211855.054125\" maxx=\"853649.695106\" maxy=\"5936394.291427\" />\n <BoundingBox CRS=\"EPSG:32661\" minx=\"2000000.000000\" miny=\"-2703305.597319\" maxx=\"2745713.040381\" maxy=\"-1888346.216710\" />\n <BoundingBox CRS=\"EPSG:40000\" minx=\"0.000000\" miny=\"-4731695.771951\" maxx=\"750214.326339\" maxy=\"-3911817.119426\" />\n <BoundingBox CRS=\"EPSG:900913\" minx=\"0.000000\" miny=\"6257115.219364\" maxx=\"1208534.698398\" maxy=\"7553161.958695\" />\n <BoundingBox CRS=\"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\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 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 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 <Dimension name=\"time\" units=\"ISO8601\" default=\"2022-06-01T00:00:00Z\" multipleValues=\"1\" nearestValue=\"0\" current=\"1\">2022-01-01T00:00:00Z/2023-01-01T00:00:00Z/PT5M</Dimension>\n </Layer>\n </Layer>\n </Capability>\n</WMS_Capabilities>";
|
|
2
2
|
export default _default;
|