globe.gl 2.34.0 → 2.34.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.d.ts +7 -4
- package/dist/globe.gl.js +1 -1
- package/dist/globe.gl.min.js +1 -1
- package/package.json +1 -1
package/dist/globe.gl.d.ts
CHANGED
|
@@ -27,9 +27,8 @@ type PointerEventsFilterFn = (object: Object3D, data?: object) => boolean;
|
|
|
27
27
|
// don't surface these internal props from inner ThreeGlobe
|
|
28
28
|
type ExcludedInnerProps = 'setPointOfView' | 'pauseAnimation' | 'resumeAnimation';
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
interface GlobeGenericInstance<ChainableInstance>
|
|
31
31
|
extends Omit<ThreeGlobeGeneric<ChainableInstance>, ExcludedInnerProps> {
|
|
32
|
-
constructor(element: HTMLElement, configOptions?: ConfigOptions);
|
|
33
32
|
|
|
34
33
|
resetProps(): ChainableInstance;
|
|
35
34
|
_destructor(): void;
|
|
@@ -126,6 +125,10 @@ declare class GlobeGeneric<ChainableInstance>
|
|
|
126
125
|
toGlobeCoords(x: number, y: number): { lat: number, lng: number} | null;
|
|
127
126
|
}
|
|
128
127
|
|
|
129
|
-
|
|
128
|
+
type GlobeInstance = GlobeGenericInstance<GlobeInstance>;
|
|
130
129
|
|
|
131
|
-
|
|
130
|
+
interface Globe {
|
|
131
|
+
new(element: HTMLElement, configOptions?: ConfigOptions): GlobeInstance;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export type { ConfigOptions, GlobeGenericInstance, GlobeInstance, Globe as default };
|
package/dist/globe.gl.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Version 2.34.
|
|
1
|
+
// Version 2.34.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) :
|