globe.gl 2.46.0 → 2.46.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/dist/globe.gl.js +4 -6
- package/dist/globe.gl.js.map +1 -1
- package/dist/globe.gl.min.js +2 -2
- package/dist/globe.gl.mjs +3 -5
- package/package.json +1 -1
package/dist/globe.gl.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Version 2.46.
|
|
1
|
+
// Version 2.46.1 globe.gl - https://github.com/vasturiano/globe.gl
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(factory) :
|
|
@@ -181150,17 +181150,15 @@ var<${access}> ${ name } : ${ structName };`;
|
|
|
181150
181150
|
if (geoCoords.lat === undefined && geoCoords.lng === undefined && geoCoords.altitude === undefined) {
|
|
181151
181151
|
return curGeoCoords;
|
|
181152
181152
|
} else {
|
|
181153
|
+
var _state$povTween;
|
|
181153
181154
|
// Setter
|
|
181154
181155
|
var finalGeoCoords = Object.assign({}, curGeoCoords, geoCoords);
|
|
181155
181156
|
['lat', 'lng', 'altitude'].forEach(function (p) {
|
|
181156
181157
|
return finalGeoCoords[p] = +finalGeoCoords[p];
|
|
181157
181158
|
}); // coerce coords to number
|
|
181158
181159
|
|
|
181159
|
-
|
|
181160
|
-
|
|
181161
|
-
state.povTween.end();
|
|
181162
|
-
state.povTween = undefined;
|
|
181163
|
-
}
|
|
181160
|
+
(_state$povTween = state.povTween) === null || _state$povTween === void 0 || _state$povTween.end(); // cancel any ongoing pov animation
|
|
181161
|
+
|
|
181164
181162
|
if (!transitionDuration) {
|
|
181165
181163
|
// no animation
|
|
181166
181164
|
setCameraPos(finalGeoCoords);
|