diff --git a/demo/index.html b/demo-cesium/index.html similarity index 100% rename from demo/index.html rename to demo-cesium/index.html diff --git a/demo/package.json b/demo-cesium/package.json similarity index 84% rename from demo/package.json rename to demo-cesium/package.json index 82548bf..d0334fb 100644 --- a/demo/package.json +++ b/demo-cesium/package.json @@ -9,8 +9,8 @@ "serve": "vite build && vite preview" }, "devDependencies": { - "cesium": "^1.96.0", - "vite": "^3.0.4", + "cesium": "^1.105.0", + "vite": "^4.3.4", "vite-plugin-earth": "link:.." } } diff --git a/demo/src/css/main.css b/demo-cesium/src/css/main.css similarity index 100% rename from demo/src/css/main.css rename to demo-cesium/src/css/main.css diff --git a/demo/src/index.ts b/demo-cesium/src/index.ts similarity index 76% rename from demo/src/index.ts rename to demo-cesium/src/index.ts index 391e1ab..c52caa2 100644 --- a/demo/src/index.ts +++ b/demo-cesium/src/index.ts @@ -8,4 +8,4 @@ import { Viewer } from 'cesium'; import './css/main.css'; -const viewer = new Viewer('cesiumContainer'); +const viewer = new Viewer('cesiumContainer', { infoBox: false }); diff --git a/demo/vite.config.ts b/demo-cesium/vite.config.ts similarity index 100% rename from demo/vite.config.ts rename to demo-cesium/vite.config.ts