diff --git a/src/views/AppThreeMap.vue b/src/views/AppThreeMap.vue index 3d29764..e14795c 100644 --- a/src/views/AppThreeMap.vue +++ b/src/views/AppThreeMap.vue @@ -16,9 +16,6 @@ export default { const {$waitFor, THREE, $loadScript} = window return $waitFor(THREE).then(() => Promise.all([ `http://10.0.97.209/presource/datascreen/js/three/js/controls/OrbitControls.js`, - // `http://10.0.97.209/presource/datascreen/js/three/js/utils/BufferGeometryUtils.js`, - `http://10.0.97.209/presource/datascreen/js/three/js/QuickHull.js`, - `http://10.0.97.209/presource/datascreen/js/three/js/geometries/ConvexGeometry.js`, ].map(e => $loadScript('js', e)))) }, initMap() { @@ -29,7 +26,7 @@ export default { class GeoMap { constructor() { - this.cameraPosition = {x: 16, y: 0, z: 80}; // 相机位置 + this.cameraPosition = {x: 40, y: 0, z: 40}; // 相机位置 this.scene = null; // 场景 this.camera = null; // 相机 this.renderer = null; // 渲染器