diff --git a/examples/copc_simple_loader.html b/examples/copc_simple_loader.html
index 7a9afb6eaf..5dfa290e1e 100644
--- a/examples/copc_simple_loader.html
+++ b/examples/copc_simple_loader.html
@@ -15,7 +15,7 @@
-
+
Specify the URL of a COPC file to load:
@@ -38,7 +38,7 @@
const uri = new URL(location);
- const gui = new dat.GUI();
+ const gui = new lil.GUI();
const viewerDiv = document.getElementById('viewerDiv');
const view = new itowns.View('EPSG:4326', viewerDiv);
@@ -96,7 +96,7 @@
const source = new itowns.CopcSource({ url });
if (layer) {
- gui.removeFolder(layer.debugUI);
+ layer.debugUI.destroy()
view.removeLayer('COPC');
view.notifyChange();
layer.delete();
diff --git a/examples/entwine_3d_loader.html b/examples/entwine_3d_loader.html
index 923dca6675..3d8057fe49 100644
--- a/examples/entwine_3d_loader.html
+++ b/examples/entwine_3d_loader.html
@@ -14,7 +14,7 @@
-
+
Specify the URL of a Entwine Point Tree to load:
@@ -31,7 +31,7 @@
+
Specify the URL of a Entwine Point Tree to load:
@@ -33,7 +33,7 @@