Try it out:
Click any of the buttons below to toggle on and of the respective functionality. This is especially useful if you launch Explorer without the related UI visible.
How it works:
Each toggle button function starts with finding the Voyager Explorer element based on id and then calls the relevant function on the object. Code examples from this page shown below.
function toggleAnnotations() {
var voyagerElement = document.getElementById("voyager");
voyagerElement.toggleAnnotations();
}
function toggleReader() {
var voyagerElement = document.getElementById("voyager");
voyagerElement.toggleReader();
}
function toggleTours() {
var voyagerElement = document.getElementById("voyager");
voyagerElement.toggleTours();
}
function toggleTools() {
var voyagerElement = document.getElementById("voyager");
voyagerElement.toggleTools();
}