mirror of
https://github.com/w3reality/three-geo.git
synced 2026-02-01 16:00:13 +00:00
Turn off debug mode for the editor demo
This commit is contained in:
parent
5b07ad051a
commit
ddbd2c3550
@ -55,7 +55,7 @@ const tgeo = new ThreeGeo({
|
||||
tokenMapbox: '********', // <---- set your Mapbox API token here
|
||||
});
|
||||
|
||||
const isDebug = 1;
|
||||
const isDebug = 0;
|
||||
if (isDebug) {
|
||||
tgeo.tokenMapbox = 'zzzz';
|
||||
tgeo.setApiVector(`../geo-viewer/cache/eiger/mapbox-terrain-vector`);
|
||||
@ -92,9 +92,7 @@ if (tgeo.tokenMapbox.startsWith('****')) {
|
||||
$msg.append(`<div>---- Log ----</div>`);
|
||||
|
||||
tgeo.getTerrain(origin, radius, 12, {
|
||||
onVectorDem: (mesh) => {
|
||||
//!!!!!
|
||||
},
|
||||
// onVectorDem: (mesh) => { /* just for debugging ajax */ },
|
||||
onRgbDem: (meshes) => {
|
||||
|
||||
const pt = new THREE.Vector3(0, 0, 0);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user