Skip to content

Commit 52837ba

Browse files
committed
cleanup
1 parent a4e9603 commit 52837ba

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/aframe-components/google-maps-aerial.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
TileFlatteningPlugin
88
} from '3d-tiles-renderer/plugins';
99

10-
console.log('3d-tiles-renderer', TilesRenderer);
1110
const MathUtils = AFRAME.THREE.MathUtils;
1211
const Vector3 = AFRAME.THREE.Vector3;
1312
const Box3 = AFRAME.THREE.Box3;
@@ -52,7 +51,6 @@ AFRAME.registerComponent('google-maps-aerial', {
5251
// Always create flattening plugin to support runtime toggling
5352
this.flatteningPlugin = new TileFlatteningPlugin();
5453
this.tiles.registerPlugin(this.flatteningPlugin);
55-
console.log('TileFlatteningPlugin registered');
5654
// Set location
5755
this.tiles.setLatLonToYUp(
5856
this.data.latitude * MathUtils.DEG2RAD,
@@ -129,7 +127,6 @@ AFRAME.registerComponent('google-maps-aerial', {
129127

130128
// Add the transformed plane as a flattening shape
131129
this.flatteningPlugin.addShape(relativeShape, direction, Infinity);
132-
console.log('Added flattening shape from', shapeSelector);
133130

134131
// Store references for cleanup and updates
135132
this.flatteningShape = relativeShape;

src/aframe-components/street-geo.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,7 @@ AFRAME.registerComponent('street-geo', {
176176
latitude: data.latitude,
177177
ellipsoidalHeight: data.ellipsoidalHeight,
178178
enableFlattening: data.enableFlattening,
179-
flatteningShape:
180-
data.flatteningShape && data.flatteningShape !== 'create-default'
181-
? '#' + data.flatteningShape
182-
: '',
179+
flatteningShape: data.flatteningShape ? '#' + data.flatteningShape : '',
183180
apiToken: firebaseConfig.apiKey,
184181
copyrightEl: '#map-copyright'
185182
});

0 commit comments

Comments
 (0)