Commit 1f034295 authored by Pithon Kabiro's avatar Pithon Kabiro
Browse files

Replace ternary operator with if/else block

parent c382d5d3
......@@ -145,9 +145,11 @@ const loadDetailedBuilding225 = function () {
// Default case: load only 3dTiles
// Alternative case: load 3dTiles + glTF
LOAD_DETAILED_BLDG225
? loadDetailedBuilding225()
: loadNonDetailedBuilding225();
if (LOAD_DETAILED_BLDG225) {
loadDetailedBuilding225();
} else {
loadNonDetailedBuilding225();
}
/**
* Activate feature picking for the displayed 3DTiles
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment