@opengeoweb/webmap-react 13.0.0 → 13.1.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.
- package/index.esm.js +3 -2
- package/package.json +4 -4
package/index.esm.js
CHANGED
|
@@ -13983,7 +13983,7 @@ var TimeawareImageSourceWMSLayer = function TimeawareImageSourceWMSLayer(_ref) {
|
|
|
13983
13983
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
13984
13984
|
while (1) switch (_context.prev = _context.next) {
|
|
13985
13985
|
case 0:
|
|
13986
|
-
if (!
|
|
13986
|
+
if (!wmLayer) {
|
|
13987
13987
|
_context.next = 11;
|
|
13988
13988
|
break;
|
|
13989
13989
|
}
|
|
@@ -14043,8 +14043,9 @@ var TimeawareImageSourceWMSLayer = function TimeawareImageSourceWMSLayer(_ref) {
|
|
|
14043
14043
|
return window.console.error(e);
|
|
14044
14044
|
});
|
|
14045
14045
|
return function () {};
|
|
14046
|
+
// Effect array should only contain wmLayer and layerName
|
|
14046
14047
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
14047
|
-
}, [wmLayer, layerName
|
|
14048
|
+
}, [wmLayer, layerName]);
|
|
14048
14049
|
// Layer opacity and zIndex useEffect
|
|
14049
14050
|
useEffect(function () {
|
|
14050
14051
|
if (!layerOptions || !layer) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/webmap-react",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.1.1",
|
|
4
4
|
"description": "GeoWeb react wrapper for webmap",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opengeoweb/webmap": "13.
|
|
12
|
-
"@opengeoweb/theme": "13.
|
|
13
|
-
"@opengeoweb/shared": "13.
|
|
11
|
+
"@opengeoweb/webmap": "13.1.1",
|
|
12
|
+
"@opengeoweb/theme": "13.1.1",
|
|
13
|
+
"@opengeoweb/shared": "13.1.1",
|
|
14
14
|
"lodash": "^4.17.21",
|
|
15
15
|
"ol": "^10.4.0",
|
|
16
16
|
"proj4": "^2.9.2",
|