// Disable annotations by default
toggleAnnotations();
function toggleAnnotations() {
// Loop through all annotations and toggle them on/off
viewer.scene.annotations.children.forEach((annotation) => {
annotation.visible = !annotation.visible;
});
}
function switchPointclouds() {
pointcloud1.visible = !pointcloud1.visible;
window.pointcloud2.visible = !window.pointcloud2.visible;
}