@smplrspace/smplr-loader 2.56.1-beta.24 → 2.56.1-beta.26

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.
@@ -2473,6 +2473,44 @@ export declare class QueryClient {
2473
2473
  levelIndex: number;
2474
2474
  padding?: number;
2475
2475
  }): SmplrCoord2d[] | null;
2476
+ convertSmplrToGPSCoordinates(args: {
2477
+ spaceId: string;
2478
+ point: SmplrCoord2d;
2479
+ }): Promise<GeoPoint>;
2480
+ convertSmplrToGPSCoordinates(args: {
2481
+ spaceId: string;
2482
+ points: SmplrCoord2d[];
2483
+ }): Promise<GeoPoint[]>;
2484
+ convertSmplrToGPSCoordinatesFromCache(args: {
2485
+ spaceId: string;
2486
+ point: SmplrCoord2d;
2487
+ }): GeoPoint;
2488
+ convertSmplrToGPSCoordinatesFromCache(args: {
2489
+ spaceId: string;
2490
+ points: SmplrCoord2d[];
2491
+ }): GeoPoint[];
2492
+ convertGPSToSmplrCoordinates(args: {
2493
+ spaceId: string;
2494
+ levelIndex: number;
2495
+ point: GeoPoint;
2496
+ }): Promise<SmplrCoord2d>;
2497
+ convertGPSToSmplrCoordinates(args: {
2498
+ spaceId: string;
2499
+ levelIndex: number;
2500
+ points: GeoPoint[];
2501
+ }): Promise<SmplrCoord2d[]>;
2502
+ convertGPSToSmplrCoordinatesFromCache(args: {
2503
+ spaceId: string;
2504
+ levelIndex: number;
2505
+ point: GeoPoint;
2506
+ }): SmplrCoord2d;
2507
+ convertGPSToSmplrCoordinatesFromCache(args: {
2508
+ spaceId: string;
2509
+ levelIndex: number;
2510
+ points: GeoPoint[];
2511
+ }): SmplrCoord2d[];
2512
+ private smplrToGPS;
2513
+ private gpsToSmplr;
2476
2514
  isPointInPolygon({ point, polygon }: {
2477
2515
  point: SmplrCoord2d;
2478
2516
  polygon: SmplrCoord2d[] | SmplrCoord2d[][];
@@ -4058,7 +4096,7 @@ declare interface Vector3Coord extends Vector2Coord {
4058
4096
  z: number;
4059
4097
  }
4060
4098
 
4061
- export declare const version = "2.56.1-beta.24";
4099
+ export declare const version = "2.56.1-beta.26";
4062
4100
 
4063
4101
  declare interface ViewerRendererHandle {
4064
4102
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smplrspace/smplr-loader",
3
- "version": "2.56.1-beta.24",
3
+ "version": "2.56.1-beta.26",
4
4
  "description": "NPM package to load a typed Smplr.js from CDN easily",
5
5
  "type": "module",
6
6
  "files": [