bill 1 rok temu
rodzic
commit
3200efc08b
2 zmienionych plików z 2 dodań i 1 usunięć
  1. 1 1
      public/test-case/setting.json
  2. 1 0
      src/sdk/sdk.ts

+ 1 - 1
public/test-case/setting.json

@@ -11,7 +11,7 @@
   "backType": "bimg",
   "openCompass": true,
   "mapOpen": true,
-  "latlng": [113.60, 22.36],
+  "lonlat": [113.60, 22.36],
   "mapType": "satellite",
   "tbStatus": 0,
   "createTime": "2024-07-24T02:15:34.000+00:00",

+ 1 - 0
src/sdk/sdk.ts

@@ -146,6 +146,7 @@ export const initialSDK = async (props: InialSDKProps) => {
   await Promise.all(libs.map(loadLib))
   await loadLib(`./lib/potree/potree.js`)
 
+  console.log(props)
   const localSdk = cover({
     dom: props.layout, 
     isLocal: false,