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
c1972bde
Commit
c1972bde
authored
Sep 07, 2021
by
Rushikesh Padsala
Browse files
Update App.js
parent
08beeff3
Pipeline
#4808
passed with stage
in 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/App.js
View file @
c1972bde
...
...
@@ -141,8 +141,8 @@ var initialPosition = Cesium.Cartesian3.fromDegrees(16.368084, 48.183257, 360);
[
'
Number(${nrg_epc_primaryEnergyDemandValue_s1}) >= 225
'
,
"
color('red')
"
],
[
'
Number(${nrg_epc_primaryEnergyDemandValue_s1}) >= 125
'
,
"
mix(color('yellow'), color('red'), (Number(${nrg_epc_primaryEnergyDemandValue_s1}) -125) / 125)
"
],
[
'
Number(${nrg_epc_primaryEnergyDemandValue_s1}) >= 1
'
,
"
mix(color('green'), color('yellow'), (Number(${nrg_epc_primaryEnergyDemandValue_s1}) ) / 125)
"
],
[
'
Number(${nrg_epc_primaryEnergyDemandValue_s1}) < 1
'
,
'
rgb(0, 0, 0)
'
],
[
'
true
'
,
'
rgb(0, 0, 0)
'
]
[
'
Number(${nrg_epc_primaryEnergyDemandValue_s1}) < 1
'
,
"
color('#ffffff1A')
"
],
[
'
true
'
,
"
color('#ffffff1A')
"
]
]
},
...
...
@@ -319,7 +319,7 @@ function active3DTilePicker() {
'
<tr><th>Roof Type</th><td>
'
+
picked3DtileFeature
.
getProperty
(
'
citygml_roof_type
'
)
+
'
</td></tr>
'
+
'
<tr><th>Building Storeys Above Ground</th><td>
'
+
picked3DtileFeature
.
getProperty
(
'
citygml_storeys_above_ground
'
)
+
'
</td></tr>
'
+
'
<tr><th>Building Storeys Below Ground</th><td>
'
+
picked3DtileFeature
.
getProperty
(
'
citygml_storeys_below_ground
'
)
+
'
</td></tr>
'
+
'
<tr><th>Total Residents</th><td>
'
+
picked3DtileFeature
.
getProperty
(
'
num_residents
'
)
+
'
</td></tr>
'
+
'
<tr><th>
Estimated
Total Residents</th><td>
'
+
picked3DtileFeature
.
getProperty
(
'
num_residents
'
)
+
'
</td></tr>
'
+
'
<tr><th>Building Height</th><td>
'
+
picked3DtileFeature
.
getProperty
(
'
citygml_measured_height
'
)
+
'
'
+
'
m
'
+
'
</td></tr>
'
+
'
<tr><th>Footprint Area </th><td>
'
+
picked3DtileFeature
.
getProperty
(
'
footprintArea
'
)
+
'
'
+
'
m²
'
+
'
</td></tr>
'
+
'
<tr><th>Building Volume</th><td>
'
+
picked3DtileFeature
.
getProperty
(
'
lod2Volume
'
)
+
'
'
+
'
m³
'
+
'
</td></tr>
'
+
...
...
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