@opengeoweb/webmap 12.2.0 → 12.3.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 +5 -5
- package/package.json +2 -2
- package/src/lib/components/WMLayer.d.ts +0 -1
package/index.esm.js
CHANGED
|
@@ -2244,16 +2244,17 @@ var getLegendGraphicURLForLayer = function getLegendGraphicURLForLayer(layer, wi
|
|
|
2244
2244
|
return undefined;
|
|
2245
2245
|
}
|
|
2246
2246
|
try {
|
|
2247
|
-
|
|
2248
|
-
|
|
2247
|
+
var mapDimURL = getMapDimURL(layer).toString();
|
|
2248
|
+
if (mapDimURL) {
|
|
2249
|
+
legendURL += "&" + mapDimURL;
|
|
2249
2250
|
}
|
|
2250
2251
|
if (layer.sldURL) {
|
|
2251
2252
|
legendURL += "&SLD=" + URLEncode(layer.sldURL);
|
|
2252
2253
|
}
|
|
2253
|
-
legendURL += '&transparent=true
|
|
2254
|
+
legendURL += '&transparent=true';
|
|
2254
2255
|
// append width and height parameters when not present
|
|
2255
2256
|
if (!legendURL.includes('&width=') && !legendURL.includes('&height=')) {
|
|
2256
|
-
legendURL += "&width=" + width + "&height=" + height
|
|
2257
|
+
legendURL += "&width=" + width + "&height=" + height;
|
|
2257
2258
|
}
|
|
2258
2259
|
} catch (e) {
|
|
2259
2260
|
return undefined;
|
|
@@ -8512,7 +8513,6 @@ var WMLayer = /*#__PURE__*/function () {
|
|
|
8512
8513
|
this.keepOnTop = false;
|
|
8513
8514
|
this.transparent = true;
|
|
8514
8515
|
this.hasError = false;
|
|
8515
|
-
this.legendIsDimensionDependent = true;
|
|
8516
8516
|
this.wms130bboxcompatibilitymode = false;
|
|
8517
8517
|
this.version = WMSVersion.version130;
|
|
8518
8518
|
this.path = '';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/webmap",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.3.0",
|
|
4
4
|
"description": "GeoWeb webmap library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opengeoweb/shared": "12.
|
|
11
|
+
"@opengeoweb/shared": "12.3.0",
|
|
12
12
|
"@tanstack/query-core": "^5.69.2",
|
|
13
13
|
"proj4": "^2.9.2",
|
|
14
14
|
"lodash": "^4.17.21",
|