Skip to content

Commit

Permalink
demo: add example of how to enable wireframe mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bcamper committed Feb 15, 2020
1 parent b171cc7 commit 7b74769
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions demos/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@
hover: onHover, // hover event (defined below)
click: onClick // click event (defined below)
},
// debug: {
// layer_stats: true // enable to collect detailed layer stats, access w/`scene.debug.layerStats()`
// },
debug: {
// layer_stats: true // enable to collect detailed layer stats, access w/`scene.debug.layerStats()`
// wireframe: true // enable for wireframe rendering mode
},
logLevel: 'debug',
attribution: '<a href="https://github.com/tangrams/tangram" target="_blank">Tangram</a> | &copy; OSM contributors | <a href="https://nextzen.org/" target="_blank">Nextzen</a>'
});
Expand Down

0 comments on commit 7b74769

Please sign in to comment.