Commit 84e8a921 authored by Kolokolnikova's avatar Kolokolnikova
Browse files

Displaying of selected surfacePvPotential value

parent 8b532b40
......@@ -244,7 +244,7 @@ var pickRoofType
var pickUValue
var shadowHourValue = 0;
var SurfacePvPotential = [];
var SurfacePvPotential;
var SurfacePvPotentialObject = []; //object which stores all the pvPotential data
......@@ -367,8 +367,8 @@ viewer.screenSpaceEventHandler.setInputAction(function onLeftClick(movement) {
normalizedPvValue = getNormalizedValue(chosenPvPotentialValue);
console.log("normalisierter", normalizedPvValue);
t.color = Cesium.Color.fromCssColorString(getColorFromPalette(normalizedPvValue, "pvPotential")); //coloring the surface
// SurfacePvPotential = value["attributes"]["pvPotential"][chosenAttributeRadioBtnFlag];
SurfacePvPotential = chosenPvPotentialValue;
SurfacePvPotentialObject = value["attributes"]["pvPotential"];
console.log(SurfacePvPotentialObject);
}
......@@ -403,7 +403,7 @@ viewer.screenSpaceEventHandler.setInputAction(function onLeftClick(movement) {
"<tr><th>description</th><td>" + pickedFeature.getProperty("description") + "</td></tr>" +
"<tr><th>feature_type</th><td>" + pickedFeature.getProperty("feature_type") + "</td></tr>" +
"<tr><th>shadow value</th><td>" + shadowhourvaluepercent.toFixed(1) + "%" + "</td></tr>" +
"<tr><th>totalInvestment</th><td>" + SurfacePvPotential + "</td></tr>" +
"<tr><th>"+chosenAttributeRadioBtnFlag+"</th><td>" + SurfacePvPotential + "</td></tr>" +
"</tbody></table>";
......
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