@opengeoweb/webmap 16.0.0 → 17.0.1

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.
Files changed (65) hide show
  1. package/index.esm.js +333 -103
  2. package/package.json +2 -2
  3. package/src/index.d.ts +0 -16
  4. package/src/lib/components/LoadDurationCounter.d.ts +0 -17
  5. package/src/lib/components/LoadDurationCounter.spec.d.ts +0 -1
  6. package/src/lib/components/WMBBOX.d.ts +0 -32
  7. package/src/lib/components/WMBBOX.spec.d.ts +0 -1
  8. package/src/lib/components/WMConstants.d.ts +0 -31
  9. package/src/lib/components/WMImage.d.ts +0 -115
  10. package/src/lib/components/WMImage.spec.d.ts +0 -1
  11. package/src/lib/components/WMImageStore.d.ts +0 -61
  12. package/src/lib/components/WMImageStore.spec.d.ts +0 -1
  13. package/src/lib/components/WMJSDimension.d.ts +0 -126
  14. package/src/lib/components/WMJSDimension.spec.d.ts +0 -1
  15. package/src/lib/components/WMJSDimensionModes.d.ts +0 -15
  16. package/src/lib/components/WMJSDimensionModes.spec.d.ts +0 -1
  17. package/src/lib/components/WMJSTools.d.ts +0 -62
  18. package/src/lib/components/WMJSTools.spec.d.ts +0 -1
  19. package/src/lib/components/WMLayer.d.ts +0 -117
  20. package/src/lib/components/WMLayer.spec.d.ts +0 -1
  21. package/src/lib/components/WMLayerTypes.d.ts +0 -66
  22. package/src/lib/components/WMLayerUtils.d.ts +0 -22
  23. package/src/lib/components/WMLegend.d.ts +0 -6
  24. package/src/lib/components/WMLegend.spec.d.ts +0 -1
  25. package/src/lib/components/WMListener.d.ts +0 -57
  26. package/src/lib/components/WMListener.spec.d.ts +0 -1
  27. package/src/lib/components/WMProjection.d.ts +0 -17
  28. package/src/lib/components/WMTime.d.ts +0 -44
  29. package/src/lib/components/WMTime.spec.d.ts +0 -1
  30. package/src/lib/components/WMTimeTypes.d.ts +0 -19
  31. package/src/lib/components/WMXMLParser.d.ts +0 -9
  32. package/src/lib/components/WMXMLParser.spec.d.ts +0 -1
  33. package/src/lib/components/index.d.ts +0 -25
  34. package/src/lib/components/makeHashUrlForGeoReferencedImage.d.ts +0 -6
  35. package/src/lib/components/makeHashUrlForGeoReferencedImage.spec.d.ts +0 -1
  36. package/src/lib/components/types.d.ts +0 -231
  37. package/src/lib/index.d.ts +0 -6
  38. package/src/lib/query/fakeApiWmtsQueries.d.ts +0 -208
  39. package/src/lib/query/queryConstants.d.ts +0 -7
  40. package/src/lib/query/queryWMS.d.ts +0 -69
  41. package/src/lib/query/queryWMS.spec.d.ts +0 -1
  42. package/src/lib/specs/getCapabilitySpecs/WMS111GetCapabilitiesGeoServicesRADAR.d.ts +0 -1
  43. package/src/lib/specs/getCapabilitySpecs/WMS130GetCapabilitiesHarmN25.d.ts +0 -2
  44. package/src/lib/specs/getCapabilitySpecs/WMS130GetCapabilitiesRadarTestWithInheritAndReplaceLayerprops.d.ts +0 -2
  45. package/src/lib/specs/getCapabilitySpecs/WMS130GetCapabilitiesRadarTestWithInheritLayerprops.d.ts +0 -2
  46. package/src/lib/specs/getCapabilitySpecs/WMS130GetCapabilitiesRadarTestWithInheritLayerpropsToLayerTree.d.ts +0 -76
  47. package/src/lib/specs/getCapabilitySpecs/WMS130GetCapabilitiesRadarTestWithoutInheritLayerprops.d.ts +0 -2
  48. package/src/lib/specs/getCapabilitySpecs/WMSGetCapabilitiesMissingLegend.d.ts +0 -1
  49. package/src/lib/specs/getCapabilitySpecs/WMSSmartMet.d.ts +0 -2
  50. package/src/lib/specs/getCapabilitySpecs/radarGetCapabilities.d.ts +0 -244
  51. package/src/lib/specs/index.d.ts +0 -93
  52. package/src/lib/specs/layerSpecs.d.ts +0 -34
  53. package/src/lib/specs/mockGetCapabilities.d.ts +0 -90
  54. package/src/lib/utils/consoleErrorMessages.d.ts +0 -12
  55. package/src/lib/utils/fakeMaxAgeResponses.d.ts +0 -1
  56. package/src/lib/utils/getCapabilities/getWMSServiceId.d.ts +0 -10
  57. package/src/lib/utils/getCapabilities/index.d.ts +0 -4
  58. package/src/lib/utils/getCapabilities/utils.d.ts +0 -64
  59. package/src/lib/utils/getCapabilities/utils.spec.d.ts +0 -1
  60. package/src/lib/utils/getCapabilities/wmsQueryClient.d.ts +0 -7
  61. package/src/lib/utils/i18n.d.ts +0 -6
  62. package/src/lib/utils/index.d.ts +0 -3
  63. package/src/lib/utils/tilesettings.d.ts +0 -27
  64. package/src/lib/utils/utils.d.ts +0 -31
  65. package/src/lib/utils/utils.spec.d.ts +0 -1
@@ -1,208 +0,0 @@
1
- export declare const wmtsResponseGetCapabilities: {
2
- Capabilities: {
3
- attr: {
4
- xmlns: string;
5
- 'xmlns:ows': string;
6
- 'xmlns:xlink': string;
7
- 'xmlns:xsi': string;
8
- 'xmlns:gml': string;
9
- 'xsi:schemaLocation': string;
10
- version: string;
11
- };
12
- ServiceIdentification: {
13
- attr: {};
14
- Title: {
15
- attr: {};
16
- };
17
- Abstract: {
18
- attr: {};
19
- };
20
- ServiceType: {
21
- attr: {};
22
- value: string;
23
- };
24
- ServiceTypeVersion: {
25
- attr: {};
26
- value: string;
27
- };
28
- Fees: {
29
- attr: {};
30
- value: string;
31
- };
32
- AccessConstraints: {
33
- attr: {};
34
- value: string;
35
- };
36
- };
37
- OperationsMetadata: {
38
- attr: {};
39
- Operation: {
40
- attr: {
41
- name: string;
42
- };
43
- DCP: {
44
- attr: {};
45
- HTTP: {
46
- attr: {};
47
- Get: {
48
- attr: {
49
- 'xlink:href': string;
50
- };
51
- Constraint: {
52
- attr: {
53
- name: string;
54
- };
55
- AllowedValues: {
56
- attr: {};
57
- Value: {
58
- attr: {};
59
- value: string;
60
- };
61
- };
62
- };
63
- };
64
- };
65
- };
66
- }[];
67
- };
68
- Contents: {
69
- attr: {};
70
- Layer: {
71
- attr: {};
72
- Title: {
73
- attr: {};
74
- value: string;
75
- };
76
- Abstract: {
77
- attr: {};
78
- };
79
- WGS84BoundingBox: {
80
- attr: {};
81
- LowerCorner: {
82
- attr: {};
83
- value: string;
84
- };
85
- UpperCorner: {
86
- attr: {};
87
- value: string;
88
- };
89
- };
90
- Identifier: {
91
- attr: {};
92
- value: string;
93
- };
94
- Style: {
95
- attr: {
96
- isDefault: string;
97
- };
98
- Identifier: {
99
- attr: {};
100
- value: string;
101
- };
102
- };
103
- Format: {
104
- attr: {};
105
- value: string;
106
- };
107
- Dimension: {
108
- attr: {};
109
- Identifier: {
110
- attr: {};
111
- value: string;
112
- };
113
- Default: {
114
- attr: {};
115
- value: string;
116
- };
117
- Value: {
118
- attr: {};
119
- value: string;
120
- }[];
121
- };
122
- TileMatrixSetLink: {
123
- attr: {};
124
- TileMatrixSet: {
125
- attr: {};
126
- value: string;
127
- };
128
- };
129
- ResourceURL: {
130
- attr: {
131
- format: string;
132
- resourceType: string;
133
- template: string;
134
- };
135
- };
136
- };
137
- TileMatrixSet: {
138
- attr: {};
139
- Identifier: {
140
- attr: {};
141
- value: string;
142
- };
143
- SupportedCRS: {
144
- attr: {};
145
- value: string;
146
- };
147
- TileMatrix: {
148
- attr: {};
149
- Identifier: {
150
- attr: {};
151
- value: string;
152
- };
153
- ScaleDenominator: {
154
- attr: {};
155
- value: string;
156
- };
157
- TopLeftCorner: {
158
- attr: {};
159
- value: string;
160
- };
161
- TileWidth: {
162
- attr: {};
163
- value: string;
164
- };
165
- TileHeight: {
166
- attr: {};
167
- value: string;
168
- };
169
- MatrixWidth: {
170
- attr: {};
171
- value: string;
172
- };
173
- MatrixHeight: {
174
- attr: {};
175
- value: string;
176
- };
177
- }[];
178
- };
179
- };
180
- ServiceMetadataURL: {
181
- attr: {
182
- 'xlink:href': string;
183
- };
184
- };
185
- };
186
- };
187
- export declare const wmtsResponseLayerList: {
188
- abstract: string;
189
- dimensions: {
190
- currentValue: string;
191
- defaultValue: string;
192
- name: string;
193
- units: string;
194
- values: string;
195
- }[];
196
- leaf: boolean;
197
- name: string;
198
- path: never[];
199
- ogctype: string;
200
- styles: {
201
- abstract: string;
202
- legendURL: string;
203
- name: string;
204
- title: string;
205
- }[];
206
- title: string;
207
- }[];
208
- export declare const fakeWMTSLayerApiHandlers: import("msw").HttpHandler[];
@@ -1,7 +0,0 @@
1
- export declare const QUERYWMS_GETCAPABILITIES = "QUERYWMS_GETCAPABILITIES";
2
- export declare const QUERYWMS_LAYERSTREE = "QUERYWMS_LAYERSTREE";
3
- export declare const QUERYWMS_SERVICEINFO = "QUERYWMS_SERVICEINFO";
4
- export declare const QUERYWMS_LAYERS = "QUERYWMS_LAYERS";
5
- export declare const QUERYWMS_LAYER = "QUERYWMS_LAYER";
6
- export declare const QUERYWMS_OGCTYPE = "QUERYWMS_OGCTYPE";
7
- export declare const queryWMSKeys: string[];
@@ -1,69 +0,0 @@
1
- import type { OGCWMSWMTSGetCapabilities, LayerProps, LayerTree, WMSServiceInfo, WMTSGetCapabilities } from '../components/types';
2
- import { OGCTYPE } from '../components/types';
3
- /**
4
- * Invalidates the tanstack store for this getcapabilities service. Used to force refetch.
5
- *
6
- * @async
7
- * @param {string} serviceUrl
8
- * @returns {Promise<void>}
9
- */
10
- export declare const invalidateWMSGetCapabilities: (serviceUrl: string) => Promise<void>;
11
- export declare const invalidateWMTSGetCapabilities: (serviceUrl: string) => Promise<void>;
12
- /**
13
- * Determines whether the service is WMS or WMTS
14
- *
15
- * @async
16
- * @param {string} serviceUrl
17
- * @returns {Promise<string>}
18
- */
19
- export declare const queryOGCTypeWMSorWMTS: (serviceUrl: string) => Promise<OGCTYPE>;
20
- /**
21
- * Fetches the WMS GetCapabilities document and converts it to a json object. It is cached by TanStack.
22
- *
23
- * @async
24
- * @param {string} serviceUrl
25
- * @returns {Promise<OGCWMSWMTSGetCapabilities>}
26
- */
27
- export declare const queryWMSGetCapabilities: (serviceUrl: string) => Promise<OGCWMSWMTSGetCapabilities>;
28
- /**
29
- * Gets the layer tree in hierarchical order for a WMS service. Cached by TanStack. Uses the same store as in queryWMSGetCapabilities.
30
- *
31
- * @async
32
- * @param {string} serviceUrl
33
- * @returns {Promise<LayerTree>}
34
- */
35
- export declare const queryWMSLayersTree: (serviceUrl: string) => Promise<LayerTree>;
36
- /**
37
- * Returns details about the WMS service
38
- *
39
- * @async
40
- * @param {string} serviceUrl
41
- * @returns {Promise<WMSServiceInfo>}
42
- */
43
- export declare const queryWMSServiceInfo: (serviceUrl: string) => Promise<WMSServiceInfo>;
44
- /**
45
- * Gets the flat layer list (without hierarchy) for a WMS service. Cached by TanStack. Uses the same store as in queryWMSGetCapabilities.
46
- *
47
- * @async
48
- * @param {string} serviceUrl
49
- * @param {boolean} [forceReload=false]
50
- * @returns {Promise<LayerProps[]>}
51
- */
52
- export declare const queryWMSLayers: (serviceUrl: string, forceReload?: boolean) => Promise<LayerProps[]>;
53
- /**
54
- * Returns specific layer from the WMS service
55
- *
56
- * @async
57
- * @param {string} serviceUrl
58
- * @param {string} name
59
- * @returns {Promise<LayerProps>}
60
- */
61
- export declare const queryWMSLayer: (serviceUrl: string, name: string, forceReload?: boolean) => Promise<LayerProps>;
62
- /**
63
- * Fetches the WMTS GetCapabilities document and converts it to a json object. It is cached by TanStack.
64
- *
65
- * @async
66
- * @param {string} serviceUrl
67
- * @returns {Promise<WMTSGetCapabilities>}
68
- */
69
- export declare const queryWMTSGetCapabilities: (serviceUrl: string) => Promise<WMTSGetCapabilities>;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export declare const WMS111GetCapabilitiesGeoServicesRADAR = "<?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&amp;SERVICE=WMS&amp;\" />\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&amp;SERVICE=WMS&amp;\" />\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&amp;SERVICE=WMS&amp;\" />\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&amp;SERVICE=WMS&amp;\" />\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&amp;SERVICE=WMS&amp;\" />\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&amp;SERVICE=WMS&amp;\" />\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&amp;SERVICE=WMS&amp;\" />\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&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;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&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;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&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;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&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;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&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;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&amp;SERVICE=WMS&amp;&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=RAD_NL25_PCP_CM&amp;format=image/png&amp;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>";