globe.gl 2.45.0 → 2.45.1
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/README.md +1 -0
- package/dist/globe.gl.js +16774 -12676
- package/dist/globe.gl.js.map +1 -1
- package/dist/globe.gl.min.js +4 -4
- package/dist/globe.gl.mjs +3 -1
- package/package.json +10 -10
package/dist/globe.gl.mjs
CHANGED
|
@@ -418,7 +418,9 @@ var globe = Kapsule({
|
|
|
418
418
|
// Avoid rotating more than 180deg longitude
|
|
419
419
|
while (curGeoCoords.lng - finalGeoCoords.lng > 180) curGeoCoords.lng -= 360;
|
|
420
420
|
while (curGeoCoords.lng - finalGeoCoords.lng < -180) curGeoCoords.lng += 360;
|
|
421
|
-
state.tweenGroup.add(new Tween(curGeoCoords).to(finalGeoCoords, transitionDuration).easing(Easing.Cubic.InOut).onUpdate(setCameraPos).
|
|
421
|
+
state.tweenGroup.add(new Tween(curGeoCoords).to(finalGeoCoords, transitionDuration).easing(Easing.Cubic.InOut).onUpdate(setCameraPos).onComplete(function () {
|
|
422
|
+
state.tweenGroup.remove(this);
|
|
423
|
+
}).start());
|
|
422
424
|
}
|
|
423
425
|
return this;
|
|
424
426
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "globe.gl",
|
|
3
|
-
"version": "2.45.
|
|
3
|
+
"version": "2.45.1",
|
|
4
4
|
"description": "UI component for Globe Data Visualization using ThreeJS/WebGL",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"unpkg": "dist/globe.gl.min.js",
|
|
@@ -56,16 +56,16 @@
|
|
|
56
56
|
"three-render-objects": "^1.40"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@babel/core": "^7.
|
|
60
|
-
"@babel/preset-env": "^7.
|
|
61
|
-
"@rollup/plugin-babel": "^
|
|
62
|
-
"@rollup/plugin-commonjs": "^29.0.
|
|
59
|
+
"@babel/core": "^7.29.0",
|
|
60
|
+
"@babel/preset-env": "^7.29.0",
|
|
61
|
+
"@rollup/plugin-babel": "^7.0.0",
|
|
62
|
+
"@rollup/plugin-commonjs": "^29.0.2",
|
|
63
63
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
64
|
-
"@rollup/plugin-terser": "^0.
|
|
65
|
-
"postcss": "^8.5.
|
|
66
|
-
"rimraf": "^6.1.
|
|
67
|
-
"rollup": "^4.
|
|
68
|
-
"rollup-plugin-dts": "^6.
|
|
64
|
+
"@rollup/plugin-terser": "^1.0.0",
|
|
65
|
+
"postcss": "^8.5.8",
|
|
66
|
+
"rimraf": "^6.1.3",
|
|
67
|
+
"rollup": "^4.59.0",
|
|
68
|
+
"rollup-plugin-dts": "^6.4.0",
|
|
69
69
|
"rollup-plugin-postcss": "^4.0.2",
|
|
70
70
|
"typescript": "^5.9.3"
|
|
71
71
|
},
|