Skip to content

Commit

Permalink
examples(PointCloud): fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ftoromanoff authored and Desplandis committed Dec 20, 2024
1 parent 327b914 commit 8dc71f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion examples/entwine_3d_loader.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@
eptSource = new itowns.EntwinePointTileSource({ url });

if (eptLayer) {
view.removeLayer('ept');
debugGui.removeFolder(eptLayer.debugUI);
view.removeLayer('Entwine Point Tile');
view.notifyChange();
eptLayer.delete();
}

eptLayer = new itowns.EntwinePointTileLayer('Entwine Point Tile', {
Expand Down
2 changes: 1 addition & 1 deletion examples/entwine_simple_loader.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
eptSource = new itowns.EntwinePointTileSource({ url });

if (eptLayer) {
debugGUI.removeFolder(eptLayer.debugUI);
debugGui.removeFolder(eptLayer.debugUI);
view.removeLayer('Entwine Point Tile');
view.notifyChange();
eptLayer.delete();
Expand Down

0 comments on commit 8dc71f9

Please sign in to comment.