Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IN-SOURCE
Meidling 3D Viewer
Commits
22d0694e
Commit
22d0694e
authored
Nov 26, 2020
by
Rushikesh Padsala
Browse files
Update App.js
parent
92d14bbe
Pipeline
#1371
passed with stage
in 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/App.js
View file @
22d0694e
...
...
@@ -63,7 +63,7 @@ var initialPosition = Cesium.Cartesian3.fromDegrees(16.368084, 48.183257, 360);
var
building
=
viewer
.
scene
.
primitives
.
add
(
new
Cesium
.
Cesium3DTileset
({
url
:
'
https://w2.iaf.hft-stuttgart.de/CesiumData/3DTiles/Buildings/BuildingSolid/Meidling_Vienna/tileset.json
'
}));
var
outdoorbuildinginstallation
=
viewer
.
scene
.
primitives
.
add
(
new
Cesium
.
Cesium3DTileset
({
url
:
'
https://w2.iaf.hft-stuttgart.de/CesiumData/3DTiles/Buildings/BuildingInstallation/Meidling_Vienna/tileset.json
'
}));
var
roofsurface
=
viewer
.
scene
.
primitives
.
add
(
new
Cesium
.
Cesium3DTileset
({
url
:
'
https://w2.iaf.hft-stuttgart.de/CesiumData/3DTiles/Buildings/RoofSurface/Me
d
iling_Vienna/tileset.json
'
}));
var
roofsurface
=
viewer
.
scene
.
primitives
.
add
(
new
Cesium
.
Cesium3DTileset
({
url
:
'
https://w2.iaf.hft-stuttgart.de/CesiumData/3DTiles/Buildings/RoofSurface/Mei
d
ling_Vienna/tileset.json
'
}));
var
roofdefaultstyle
=
new
Cesium
.
Cesium3DTileStyle
({
color
:
"
color('#990000')
"
});
roofsurface
.
style
=
roofdefaultstyle
;
// set roof height and load roof tile
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment