@vtx/map 1.1.26 → 1.1.28

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.
@@ -3655,11 +3655,9 @@ var BaiduMap = /*#__PURE__*/function (_React$Component) {
3655
3655
  }, {
3656
3656
  key: "initPropsForUser",
3657
3657
  value: function initPropsForUser() {
3658
- var t = this;
3659
-
3660
- t.state.gis["getCenter"] = function () {
3661
- return t.getCenter();
3662
- };
3658
+ var t = this; // t.state.gis["getCenter"] = () => {
3659
+ // return t.getCurrentCenter();
3660
+ // }
3663
3661
 
3664
3662
  t.state.gis["setCenter"] = function (gt) {
3665
3663
  t.setCenter(gt);