Commit 990246f2 authored by JOE XMG's avatar JOE XMG
Browse files

update

parent 1d7a2563
Pipeline #6873 passed with stage
in 21 seconds
......@@ -2,3 +2,4 @@
This project contains an application use case to demonstrate the framework/ infrastructure of urban digital twins.
![Demo](public/img/demo.jpg "A protytype application")
\ No newline at end of file
......@@ -144,7 +144,25 @@ var hide_utiltiy_line = function () {
}
}
viewer.camera.setView({"destination":{"x":-3447610.163256134,"y":4035558.08021155,"z":3526721.814467922},"orientation":{"direction":{"x":-0.3228353906545565,"y":-0.9232459949887203,"z":0.2083126095036207},"up":{"x":-0.663817634371156,"y":0.3777599007354034,"z":0.6454793611683185}}})
viewer.camera.setView({
"destination": {
"x": -3447610.163256134,
"y": 4035558.08021155,
"z": 3526721.814467922
},
"orientation": {
"direction": {
"x": -0.3228353906545565,
"y": -0.9232459949887203,
"z": 0.2083126095036207
},
"up": {
"x": -0.663817634371156,
"y": 0.3777599007354034,
"z": 0.6454793611683185
}
}
})
var building_style = []
var addBuilding = function () {
......@@ -218,7 +236,6 @@ var addBuilding = function () {
}
});
building_style["ElecDemand"] = new Cesium.Cesium3DTileStyle({
pointSize: '3.0',
show: true,
color: {
"conditions": [
......@@ -232,7 +249,22 @@ var addBuilding = function () {
]
}
});
tileset_3Dbuildings.style = building_style["AllWhite"];
building_style["height"] = new Cesium.Cesium3DTileStyle({
show: true,
color: {
"conditions": [
["Number(${計測高さ}) < 5", "color('#ffffcc')"],
["Number(${計測高さ}) < 10", "color('#a1dab4')"],
["Number(${計測高さ}) < 20", "color('#41b6c4')"],
["Number(${計測高さ}) < 30", "color('#2c7fb8')"],
["Number(${計測高さ}) >= 30", "color('#253494')"],
["true", "color('#E8F1F2', 0.5)"]
]
}
});
// tileset_3Dbuildings.style = building_style["AllWhite"];
tileset_3Dbuildings.style = building_style["height"];
};
addBuilding();
......@@ -366,5 +398,3 @@ $("#shadow_check").change(function () {
// }
// }
// });
\ No newline at end of file
Supports Markdown
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