gralobe 1.0.63 → 1.0.66
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 +8 -1
- package/dist/gralobe.js +388 -318
- package/dist/gralobe.js.map +1 -1
- package/dist/gralobe.umd.cjs +10 -10
- package/dist/gralobe.umd.cjs.map +1 -1
- package/dist/index.d.ts +7 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -218,6 +218,9 @@ export declare class GlobeViz implements GlobeVizAPI {
|
|
|
218
218
|
*/
|
|
219
219
|
clearCustomLabels(): void;
|
|
220
220
|
setTexture(preset: TexturePreset): Promise<void>;
|
|
221
|
+
private loadTextureSource;
|
|
222
|
+
private loadSvgTexture;
|
|
223
|
+
private resizeSvgTexture;
|
|
221
224
|
setAutoRotate(enabled: boolean): void;
|
|
222
225
|
screenshot(options?: ExportOptions): void;
|
|
223
226
|
recordGif(options?: ExportOptions): Promise<void>;
|
|
@@ -242,6 +245,9 @@ export declare class GlobeViz implements GlobeVizAPI {
|
|
|
242
245
|
private getStatisticMetadata;
|
|
243
246
|
}
|
|
244
247
|
|
|
248
|
+
/**
|
|
249
|
+
* Texture sources are defined in a dedicated module to keep URLs testable.
|
|
250
|
+
*/
|
|
245
251
|
/**
|
|
246
252
|
* Public API for controlling the globe
|
|
247
253
|
*/
|
|
@@ -537,7 +543,7 @@ export declare interface StatisticDefinition {
|
|
|
537
543
|
/**
|
|
538
544
|
* Available texture presets for the globe
|
|
539
545
|
*/
|
|
540
|
-
export declare type TexturePreset = "satellite" | "natural" | "dark" | "light" | "night" | "topographic";
|
|
546
|
+
export declare type TexturePreset = "satellite" | "natural" | "dark" | "light" | "night" | "topographic" | "day" | "bathymetry" | "atlas";
|
|
541
547
|
|
|
542
548
|
/**
|
|
543
549
|
* ISO 3166-1 country code mappings
|
package/package.json
CHANGED