@opengeoweb/webmap-react 9.7.0 → 9.8.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 +3 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -3052,7 +3052,8 @@ class MapDraw extends React.PureComponent {
|
|
|
3052
3052
|
geojson,
|
|
3053
3053
|
isInEditMode,
|
|
3054
3054
|
isInDeleteMode,
|
|
3055
|
-
drawMode
|
|
3055
|
+
drawMode,
|
|
3056
|
+
mapId
|
|
3056
3057
|
} = this.props;
|
|
3057
3058
|
const prevGeojson = prevProps && prevProps.geojson;
|
|
3058
3059
|
const prevIsInEditMode = prevProps && prevProps.isInEditMode;
|
|
@@ -3071,6 +3072,7 @@ class MapDraw extends React.PureComponent {
|
|
|
3071
3072
|
return;
|
|
3072
3073
|
}
|
|
3073
3074
|
}
|
|
3075
|
+
webmapUtils.getWMJSMapById(mapId).draw('MapDraw::componentDidUpdateIsInEditMode');
|
|
3074
3076
|
}
|
|
3075
3077
|
/* Handle toggle delete */
|
|
3076
3078
|
if (isInDeleteMode !== prevIsInDeleteMode) {
|