Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
iCity
EnergyDashboard
Commits
1f034295
Commit
1f034295
authored
3 years ago
by
Pithon Kabiro
Browse files
Options
Download
Email Patches
Plain Diff
Replace ternary operator with if/else block
parent
c382d5d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/js/appCesium.js
+5
-3
public/js/appCesium.js
with
5 additions
and
3 deletions
+5
-3
public/js/appCesium.js
+
5
-
3
View file @
1f034295
...
@@ -145,9 +145,11 @@ const loadDetailedBuilding225 = function () {
...
@@ -145,9 +145,11 @@ const loadDetailedBuilding225 = function () {
// Default case: load only 3dTiles
// Default case: load only 3dTiles
// Alternative case: load 3dTiles + glTF
// Alternative case: load 3dTiles + glTF
LOAD_DETAILED_BLDG225
if
(
LOAD_DETAILED_BLDG225
)
{
?
loadDetailedBuilding225
()
loadDetailedBuilding225
();
:
loadNonDetailedBuilding225
();
}
else
{
loadNonDetailedBuilding225
();
}
/**
/**
* Activate feature picking for the displayed 3DTiles
* Activate feature picking for the displayed 3DTiles
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets