Browse Source

低空修改250303-02

zhiyuan-007 1 month ago
parent
commit
ace6440fde

+ 1 - 13
src/components/mapJK.vue

@@ -411,7 +411,6 @@ export default {
           url = await returnProxyUrl(dojoConfig["queryurl_jd_3857"]) + '/0'
           layerId = 0;
         }
-        debugger
         let queryIn2DInstance = new QueryIn2D({
           view: m_view,
           map: m_map,
@@ -744,7 +743,6 @@ export default {
           }
           return
         }
-        debugger
         if(status === "show"){
           if(m_handles.has(scale_handle_id)){
             m_handles.remove(scale_handle_id);
@@ -2484,7 +2482,6 @@ export default {
 
 
       function featurePolygonPlotting(params){
-        debugger
         let status = params.status;
         let id = params.id;
         let p_layer = m_map.layers.find(item => item.id === id+"_polygon");
@@ -2533,7 +2530,6 @@ export default {
         let status = params.status;
         const connectFlyPointWebSocket = (status) => {
           if(status === "show"){
-            debugger
             if(flyPointSocket){
               return
             }else{
@@ -2555,7 +2551,6 @@ export default {
               };
 
               flyPointSocket.onerror = (error) => {
-                debugger
                 console.error('WebSocket 出错:', error);
               };
 
@@ -2620,10 +2615,9 @@ export default {
           fields: params.fields,
           scrollId: params.scrollId,
         }).then(res =>{
-          debugger
           if(currentShowGridId === params.id){
             if(res.data.data.list?.length >= 100000 && res.data.data.scrollId){
-              debugger
+
               let size = {
                 x:res.data.data.list[0].boxSize.latLength,
                 y:res.data.data.list[0].boxSize.lonLength,
@@ -2707,7 +2701,6 @@ export default {
             y:res.data.data.list[0].boxSize.lonLength,
             z:res.data.data.list[0].boxSize.height
           }
-          debugger
           showThreeCubeDetail({
             "id":params.id,
             "status":params.status,
@@ -2765,7 +2758,6 @@ export default {
             y:res.data.data.list[0].boxSize.lonLength,
             z:res.data.data.list[0].boxSize.height
           }
-          debugger
           showThreeCubeDetail({
             "id":params.id,
             "status":params.status,
@@ -2819,7 +2811,6 @@ export default {
             y:res.data.data.list[0].boxSize.lonLength,
             z:res.data.data.list[0].boxSize.height
           }
-          debugger
           showThreeCubeDetail({
             "id":params.id,
             "status":params.status,
@@ -3009,7 +3000,6 @@ export default {
           radius:params.radius,
           level: params.level
         }).then(res =>{
-          debugger
           let data  = res.data.data;
           let showData = [];
 
@@ -3035,7 +3025,6 @@ export default {
           radius:params.radius,
           level: params.level
         }).then(res =>{
-          debugger
           let data  = res.data.data;
           let showData = [];
 
@@ -3061,7 +3050,6 @@ export default {
           radius:params.radius,
           level: params.level
         }).then(res =>{
-          debugger
           let data  = res.data.data;
           let showData = [];
 

+ 0 - 1
src/units/map/GeometryMeshEffect.js

@@ -110,7 +110,6 @@ class GeometryMeshEffect{
                     }
                 });
             }else if(item.type == "funnel"){  //漏斗
-                debugger
                 let funnel = this.createTruncatedConeWithCylinder(item.shape.bottomRadius, item.shape.topRadius, item.shape.coneHeight, item.shape.cylinderHeight,item.shape.point,item.shape.color);
                 graphic = new Graphic({
                     geometry: funnel,

+ 0 - 1
src/units/map/MovePointStreamEvent.js

@@ -124,7 +124,6 @@ class MovePointStreamEvent {
         console.log("newFeatureMap",newFeatureMap);
         console.log("featuresToRemove",featuresToRemove);
         if (featuresToRemove.length > 0) {
-            debugger
             this.streamLayer.sendMessageToClient({
                 type: "delete",
                 objectIds: featuresToRemove.map(feature => feature.attributes.objectId)

+ 0 - 4
src/units/threejs/flowPath.js

@@ -2,7 +2,6 @@ import * as THREE from 'three';
 import texture1 from  "../../assets/黄-发光1.png";
 export const FlowPathClass = {
     constructor(options) {
-        debugger
         this.webgl = options.webgl;
         this.view = options.view;
         this.color = options.color;
@@ -148,7 +147,6 @@ export const FlowPathClass = {
         const pathLength = curve.getLength(); // 获取路径总长度
         const segments = Math.max(2, Math.ceil(pathLength / this.pipeRadius));
         const step = 1 / segments;
-        debugger
         for (let i = 0; i < segments; i++) {
             const t1 = i * step;
             const t2 = (i + 1) * step;
@@ -159,7 +157,6 @@ export const FlowPathClass = {
             const segmentLength = point1.distanceTo(point2);
             const planeGeometry = new THREE.PlaneGeometry(this.pipeRadius, segmentLength);
             // 添加 instanceColor 属性
-            debugger
             const vertexCount = planeGeometry.attributes.position.count;
             // 使用 this.color(若未定义则默认为红色)
             const color = new THREE.Color(this.color || 0xffff00);
@@ -204,7 +201,6 @@ export const FlowPathClass = {
         this._camera.lookAt(new THREE.Vector3(cam.center[0], cam.center[1], cam.center[2]));
         // Projection matrix can be copied directly
         this._camera.projectionMatrix.fromArray(cam.projectionMatrix);
-        debugger
         const delta = this.clock.getDelta();
         const speed = 3; // 根据需要调整流动速度
         this.map.offset.y -= delta * speed;