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
476f7bc4
Commit
476f7bc4
authored
Nov 26, 2020
by
Rushikesh Padsala
Browse files
Update App.js
parent
e4ef7fe5
Pipeline
#1363
passed with stage
in 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/App.js
View file @
476f7bc4
...
...
@@ -81,8 +81,7 @@ var initialPosition = Cesium.Cartesian3.fromDegrees(16.368084, 48.183257, 360);
var
landuse
=
viewer
.
scene
.
primitives
.
add
(
new
Cesium
.
Cesium3DTileset
({
url
:
'
https://w2.iaf.hft-stuttgart.de/CesiumData/3DTiles/LandUse/Meidling_Vienna/tileset.json
'
}));
building
.
show
=
true
;
outdoorbuildinginstallation
.
show
=
true
;
landuse
.
show
=
false
;
...
...
@@ -258,6 +257,9 @@ function active3DTilePicker() {
}
// Pick a new feature
var
picked3DtileFeature
=
viewer
.
scene
.
pick
(
movement
.
endPosition
);
if
(
!
Cesium
.
defined
(
picked3DtileFeature
))
{
return
;
}
// Highlight the feature if it's not already selected.
if
(
picked3DtileFeature
!==
selected
.
feature
)
{
...
...
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