@opengeoweb/webmap-react 17.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 (2) hide show
  1. package/index.esm.js +2 -2
  2. package/package.json +4 -4
package/index.esm.js CHANGED
@@ -15844,7 +15844,7 @@ var OpenLayersGetFeatureInfo = function OpenLayersGetFeatureInfo(_ref) {
15844
15844
  return [new Feature(new Point(coords))];
15845
15845
  }, [mapPinLocation, map]);
15846
15846
  useEffect(function () {
15847
- if (disableMapPin || !map) {
15847
+ if (!displayMapPin || !map) {
15848
15848
  return function () {};
15849
15849
  }
15850
15850
  var key = map.on('click', function (e) {
@@ -15863,7 +15863,7 @@ var OpenLayersGetFeatureInfo = function OpenLayersGetFeatureInfo(_ref) {
15863
15863
  return function () {
15864
15864
  unByKey(key);
15865
15865
  };
15866
- }, [map, disableMapPin, selectLocation]);
15866
+ }, [map, displayMapPin, selectLocation]);
15867
15867
  if (!displayMapPin) {
15868
15868
  return null;
15869
15869
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/webmap-react",
3
- "version": "17.0.0",
3
+ "version": "17.0.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": "17.0.0",
12
- "@opengeoweb/theme": "17.0.0",
13
- "@opengeoweb/shared": "17.0.0",
11
+ "@opengeoweb/webmap": "17.0.1",
12
+ "@opengeoweb/theme": "17.0.1",
13
+ "@opengeoweb/shared": "17.0.1",
14
14
  "lodash": "^4.17.21",
15
15
  "ol": "^10.4.0",
16
16
  "proj4": "^2.9.2",