@@ -1 +1,2 @@
-VITE_LASER_HOST=
+VITE_LASER_HOST=
+VITE_LASER_OSS=http://192.168.0.25/laser-data/
@@ -39,6 +39,7 @@ export async function modelSDKFactory(
if (!fuseInitialed) {
await initialSDK({
laserRoot: import.meta.env.VITE_LASER_HOST,
+ laserOSSRoot: import.meta.env.VITE_LASER_OSS,
layout: dom,
scenes: scenes.value,
lonlat: center,
@@ -337,6 +337,7 @@ export type Tagging3D = {
export let sdk: SDK;
export type InialSDKProps = {
laserRoot?: string
+ laserOSSRoot?: string
layout: HTMLDivElement;
scenes: Scene[];
lonlat?: number[];
@@ -8,6 +8,7 @@ declare module '*.vue' {
interface ImportMetaEnv {
readonly VITE_LASER_HOST: string
+ readonly VITE_LASER_OSS: string
}
declare const offline: boolean