@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.
- package/lib/VtxMap/BMap/Map.js +3 -5
- package/lib/VtxMap/BMap/Map.js.map +1 -1
- package/lib/VtxMap/OlMap/Map.js +136 -15
- package/lib/VtxMap/OlMap/Map.js.map +1 -1
- package/lib/VtxSearchCheckMap/VtxSearchCheckMap.css +11 -0
- package/lib/VtxSearchCheckMap/VtxSearchCheckMap.js +84 -4
- package/lib/VtxSearchCheckMap/VtxSearchCheckMap.js.map +1 -1
- package/lib/VtxSearchCheckMap/VtxSearchCheckMap.less +11 -0
- package/lib/VtxSearchMap/VtxSearchMap.css +15 -0
- package/lib/VtxSearchMap/VtxSearchMap.js +84 -4
- package/lib/VtxSearchMap/VtxSearchMap.js.map +1 -1
- package/lib/VtxSearchMap/VtxSearchMap.less +15 -0
- package/package.json +2 -2
package/lib/VtxMap/BMap/Map.js
CHANGED
|
@@ -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
|
-
|
|
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);
|