forked from 3DGI/test-cesium-3dtiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLIESMICH.mah
44 lines (27 loc) · 1.2 KB
/
LIESMICH.mah
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
git checkout -b test-cesium-3dtiles 3DGI/main
fix index.js
const tileset_buildings = viewer.scene.primitives.add(new Cesium3DTileset({
// url: 'http://localhost:8003/tileset.json',
url: 'https://data.3dgi.xyz/3dtiles-test-data/tilesets/buildings/tileset.json',
enableDebugWireframe: false,
debugShowBoundingVolume: true,
debugShowContentBoundingVolume: false,
}));
# dev
rm -rf node_modules/
npm install
npm start
# local prod build -> dist
npm run build
cd dist/
http-server
# prod build with new baseUrl and upload
# see package.json for baseUrl
npm run deploy
https://static.mah.priv.at/apps/flightview2/?view=15.279520679150783%2C47.52513407380867%2C1363.3749108204972%2C60.23406292116273%2C-18.078516119207666%2C0.17517418615582006&nav=1
Kehrer https://static.mah.priv.at/apps/flightview2/?view=15.212897979628188%2C47.126512986956364%2C860.2642244077152%2C349.4987633031491%2C-12.885428118742357%2C359.99967983463097&nav=1&multiplier=1&startAt=0&imagery=13&terrain=2
source=https://static.mah.priv.at/cors/20210509-Stiwoll-Kumberg.czml
#---------------
setting the baseUrl:
webpack --config webpack.config.js --env baseUrl=\"/apps/flightview2\"
webpack --config webpack.config.js