Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SimStadt
3DClient4SimStadtAPI
Commits
15090dc7
Commit
15090dc7
authored
Dec 01, 2021
by
Izairi
Browse files
showing shadowdata to hoverinformation
parent
756cca92
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/js/globe.js
View file @
15090dc7
...
...
@@ -122,7 +122,7 @@ viewer.screenSpaceEventHandler.setInputAction(function onMouseMove(movement) {
var
name
=
pickedFeature
.
getProperty
(
"
gml_id
"
);
nameOverlay
.
textContent
=
"
ID:
"
+
name
+
"
hier kommt noch die Verschatungsdaten
"
;
nameOverlay
.
textContent
=
"
ID:
"
+
name
+
"
\t
shadowvalue:
"
+
shadowHourValue
;
// Highlight the feature if it's not already selected.
selectedFeatures
.
forEach
(
s
=>
{
if
(
s
.
feature
===
pickedFeature
)
{
...
...
@@ -189,7 +189,7 @@ var pickHeatedVolume
var
pickTotalSurfaceArea
=
0
var
pickRoofType
var
pickUValue
var
shadowHourValue
=
0
;
//Color a feature on selection and show metadata in the InfoBox
...
...
@@ -259,7 +259,7 @@ viewer.screenSpaceEventHandler.setInputAction(function onLeftClick(movement) {
//fill variables for Single Building Properties
fillTableProperties
(
gmlID
,
surID
)
var
shadowHourValue
=
0
;
if
(
document
.
getElementById
(
"
surface
"
).
checked
)
{
...
...
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