Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 27, 2024
1 parent 8929a7a commit b4100da
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions examples/examples/terrainSwitch/terrainSwitch.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,14 @@
Globe,
GlobusRgbTerrain,
OpenStreetMap,
GlobusRgbTerrain,
EmptyTerrain,
BilTerrain,
control
BilTerrain
} from "../../external/og/lib/@openglobus/og.esm.js";

document.getElementById("btnEmpty").onclick = function () {
globus.planet.setTerrain(emptyTerrain);
};

document.getElementById("btnGlobus").onclick = function () {
globus.planet.setTerrain(GlobusRgbTerrain);
};

document.getElementById("btnMapbox").onclick = function () {
globus.planet.setTerrain(highResTerrain);
};
Expand All @@ -43,7 +37,6 @@
};

let emptyTerrain = new EmptyTerrain(),
GlobusRgbTerrain = new GlobusRgbTerrain(),
highResTerrain = new GlobusRgbTerrain(),
bilTerrain = new BilTerrain({
url: "//openglobus.org/geoserver/og/",
Expand Down

0 comments on commit b4100da

Please sign in to comment.