@vtx/map 1.2.33 → 1.2.34

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.
@@ -2909,10 +2909,11 @@ var ArcgisMap = /*#__PURE__*/function (_React$Component) {
2909
2909
  }, {
2910
2910
  key: "endEdit",
2911
2911
  value: function endEdit() {
2912
+ var _t$editToolbar, _t$editToolbarC;
2912
2913
  var t = this;
2913
- t.editToolbar.deactivate();
2914
+ (_t$editToolbar = t.editToolbar) === null || _t$editToolbar === void 0 || _t$editToolbar.deactivate();
2914
2915
  //单独为了圆的
2915
- t.editToolbarC.deactivate();
2916
+ (_t$editToolbarC = t.editToolbarC) === null || _t$editToolbarC === void 0 || _t$editToolbarC.deactivate();
2916
2917
  }
2917
2918
  //绘制图元
2918
2919
  }, {
@@ -3041,6 +3042,7 @@ var ArcgisMap = /*#__PURE__*/function (_React$Component) {
3041
3042
  // t.GM.setGraphicParam(t.drawParam.data.id,param);
3042
3043
  //绘制返回
3043
3044
  if ('drawEnd' in t.props && typeof t.props.drawEnd == 'function') {
3045
+ console.log(param);
3044
3046
  t.props.drawEnd(param);
3045
3047
  }
3046
3048
  });