diff --git a/public/.gitignore b/public/.gitignore index 3ee6bcbb9ef11df57964f8cafa6729d37ad2c60d..0fbe4b68c14b9bdb37688e28600f6fa2f09177b7 100644 --- a/public/.gitignore +++ b/public/.gitignore @@ -3,3 +3,4 @@ npm-debug.log .DS_Store /*.env /.vscode +desktop.ini \ No newline at end of file diff --git a/public/Testgebiete.html b/public/Testgebiete.html index 1b510542279663861ddf597533f972e7457ff12b..0edab927e0cef77ae8d81c66e27e9771c89f1a44 100644 --- a/public/Testgebiete.html +++ b/public/Testgebiete.html @@ -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> diff --git a/public/Testgebiete.js b/public/Testgebiete.js index f627290906d9831063a80efd8cc7ec4f3c1eb3a5..09e81cf2f1e7ed7cc2ab68126846ff9fc6c279f2 100644 --- a/public/Testgebiete.js +++ b/public/Testgebiete.js @@ -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