gralobe 1.0.26 → 1.0.32
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/gralobe.js +1528 -1340
- package/dist/gralobe.js.map +1 -1
- package/dist/gralobe.umd.cjs +77 -17
- package/dist/gralobe.umd.cjs.map +1 -1
- package/dist/index.d.ts +14 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -190,6 +190,10 @@ export declare class GlobeViz implements GlobeVizAPI {
|
|
|
190
190
|
private animate;
|
|
191
191
|
toGlobe(): void;
|
|
192
192
|
toFlat(): void;
|
|
193
|
+
/**
|
|
194
|
+
* Setup mouse interactions (Click to Zoom, etc.)
|
|
195
|
+
*/
|
|
196
|
+
private setupInteraction;
|
|
193
197
|
setMorph(value: number): void;
|
|
194
198
|
getMorph(): number;
|
|
195
199
|
setStatistic(id: string | StatisticData): void;
|
|
@@ -324,9 +328,16 @@ export declare interface GlobeVizConfig {
|
|
|
324
328
|
* Callback when view changes between flat and globe
|
|
325
329
|
*/
|
|
326
330
|
onViewChange?: (view: "globe" | "flat", morph: number) => void;
|
|
331
|
+
/**
|
|
332
|
+
* Callback for loading progress (0-1)
|
|
333
|
+
*/
|
|
334
|
+
onLoadProgress?: (progress: number) => void;
|
|
327
335
|
}
|
|
328
336
|
|
|
329
|
-
|
|
337
|
+
/**
|
|
338
|
+
* Country label display styles
|
|
339
|
+
*/
|
|
340
|
+
export declare type LabelStyle = "none" | "major" | "all" | "capitals" | "minimal";
|
|
330
341
|
|
|
331
342
|
/**
|
|
332
343
|
* Configuration for marker layer rendering
|
|
@@ -459,6 +470,8 @@ declare interface TopologyConfig {
|
|
|
459
470
|
objectName?: string;
|
|
460
471
|
/** Property key to use as ID (default: "id" or "ISO_A3") */
|
|
461
472
|
idProperty?: string;
|
|
473
|
+
/** Disable value normalization (for pre-calculated stats) */
|
|
474
|
+
disableNormalization?: boolean;
|
|
462
475
|
}
|
|
463
476
|
|
|
464
477
|
export declare const WORLD_STATISTICS: CountryStatistics[];
|
package/package.json
CHANGED