gralobe 1.0.37 → 1.0.39

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/index.d.ts CHANGED
@@ -198,6 +198,20 @@ export declare class GlobeViz implements GlobeVizAPI {
198
198
  getMorph(): number;
199
199
  setStatistic(id: string | StatisticData): void;
200
200
  setLabels(style: LabelStyle): void;
201
+ /**
202
+ * Add custom labels for cities, states, or any geographic points
203
+ */
204
+ addCustomLabels(labels: Array<{
205
+ id: string;
206
+ name: string;
207
+ lat: number;
208
+ lon: number;
209
+ size?: "large" | "medium" | "small" | "tiny";
210
+ }>): void;
211
+ /**
212
+ * Clear all custom labels (keeps country labels)
213
+ */
214
+ clearCustomLabels(): void;
201
215
  setTexture(preset: TexturePreset): Promise<void>;
202
216
  setAutoRotate(enabled: boolean): void;
203
217
  screenshot(options?: ExportOptions): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gralobe",
3
- "version": "1.0.37",
3
+ "version": "1.0.39",
4
4
  "description": "Interactive 3D globe visualization with statistics, smooth flat map ↔ globe transitions, and country labels",
5
5
  "type": "module",
6
6
  "main": "./dist/gralobe.umd.cjs",