Commit e7c85ff5 authored by Rushikesh Padsala's avatar Rushikesh Padsala
Browse files

updated to Rossenstein CityGML v38

parent 18ae7912
Pipeline #4537 passed with stage
in 19 seconds
......@@ -169,12 +169,22 @@ function active3DTilePicker() {
nameOverlay.style.display = 'block';
nameOverlay.style.bottom = viewer.canvas.clientHeight - movement.endPosition.y + 'px';
nameOverlay.style.left = movement.endPosition.x + 'px';
var name = picked3DtileFeature.getProperty('Type');
var name = picked3DtileFeature.getProperty('PolygonID');
var name2 = picked3DtileFeature.getProperty('Irr_kWh');
if (picked3DtileFeature.getProperty('Feature') === "Surface") {
if (!Cesium.defined(name)) {
name = picked3DtileFeature.getProperty('PolygonID');
}
nameOverlay.textContent = name + ':' + ' ' + name2 + ' ' + 'kWh/(m².a)'; }
else
{
if (!Cesium.defined(name)) {
name = picked3DtileFeature.getProperty('Type');
}
nameOverlay.textContent = name;
nameOverlay.textContent = name ; }
// Highlight the feature if it's not already selected.
if (picked3DtileFeature !== selected.feature) {
highlighted.feature = picked3DtileFeature;
......
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