@antv/gpt-vis 0.4.6 → 0.4.7
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.
|
@@ -53,7 +53,8 @@ var setMapView = (props, scene) => {
|
|
|
53
53
|
setMapStatus(props, scene);
|
|
54
54
|
};
|
|
55
55
|
var fitBounds = (props, scene) => {
|
|
56
|
-
|
|
56
|
+
var _a;
|
|
57
|
+
if ((_a = props.includePoints) == null ? void 0 : _a.length) {
|
|
57
58
|
fitIncludePoints(props.includePoints, scene, props.includePadding);
|
|
58
59
|
} else {
|
|
59
60
|
const points = [];
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.4.
|
|
1
|
+
declare const _default: "0.4.7";
|
|
2
2
|
export default _default;
|
package/dist/cjs/version.js
CHANGED
|
@@ -36,7 +36,8 @@ export var setMapView = function setMapView(props, scene) {
|
|
|
36
36
|
setMapStatus(props, scene);
|
|
37
37
|
};
|
|
38
38
|
export var fitBounds = function fitBounds(props, scene) {
|
|
39
|
-
|
|
39
|
+
var _props$includePoints;
|
|
40
|
+
if ((_props$includePoints = props.includePoints) !== null && _props$includePoints !== void 0 && _props$includePoints.length) {
|
|
40
41
|
fitIncludePoints(props.includePoints, scene, props.includePadding);
|
|
41
42
|
} else {
|
|
42
43
|
var points = [];
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.4.
|
|
1
|
+
declare const _default: "0.4.7";
|
|
2
2
|
export default _default;
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '0.4.
|
|
1
|
+
export default '0.4.7';
|