Commit 776f0033 authored by Sven Schneider's avatar Sven Schneider
Browse files

uploaded siimualted point cloud from BHT to cesium Ion and added the assett in...

uploaded siimualted point cloud from BHT to cesium Ion and added the assett in Testgebiete.js , also updated Testgebiete.html with a switch to toggle PC on/off
parent 04d10045
Pipeline #6529 passed with stages
in 21 seconds
......@@ -3,3 +3,4 @@ npm-debug.log
.DS_Store
/*.env
/.vscode
desktop.ini
\ No newline at end of file
......@@ -157,6 +157,14 @@
</label>
</td>
</tr>
<tr>
<td style=" padding-bottom: 10px;"><strong>BHT Point Cloud</strong> </td>
<td style=" padding-bottom: 10px; padding-left: 15px;"><label class="switch">
<input type="checkbox" onclick="toggleBHTpointcloud()" unchecked>
<span class="slider round"></span>
</label>
</td>
</tr>
</tbody>
</table>
......
......@@ -194,6 +194,27 @@ var BHT_Tileset = viewer.scene.primitives.add(
});
////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////
// Beuth HS PointCloud Tileset. Erstellt von PCT, virtuelle Befliegung (Sim)
////////////////////////////////////////////////////////////////////////////////////
var BHT_PC = viewer.scene.primitives.add(
new Cesium.Cesium3DTileset({
url: Cesium.IonResource.fromAssetId(1112349),
show: false,
})
);
BHT_PC.style = new Cesium.Cesium3DTileStyle({
// color: "color('blue',0.3)",
// color: "color('red')" ,
pointSize: 2
});
////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////
// HFT PointCloud Tileset. Von Eberhard Guelch, nur monochrome
......@@ -261,6 +282,16 @@ hftInnehofRGB_PC.style = new Cesium.Cesium3DTileStyle({
////////////////////////// Control Pointclouds and Tileset with switches
var toggleBHTpointcloud = function () {
if (BHT_PC.show === true) {
BHT_PC.show = false
}
else {
BHT_PC.show = true
}
}
var toggleLargePC = function () {
if (hftLargePC.show === true) {
hftLargePC.show = false
......
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