Browse Source

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	server/test/a0k4xu045_202305311600080410/attach/sceneStore
bill 2 years ago
parent
commit
75cdd3b5ac
2 changed files with 10 additions and 1 deletions
  1. 1 1
      src/graphic/Coordinate.js
  2. 9 0
      src/graphic/Load.js

+ 1 - 1
src/graphic/Coordinate.js

@@ -3,7 +3,7 @@ import { dataService } from "./Service/DataService";
 
 const defaultZoom = 100;
 const defaultRes = 1;
-const minAdsorbPix = 20;
+const minAdsorbPix = 30;
 
 export default class Coordinate {
   constructor() {

+ 9 - 0
src/graphic/Load.js

@@ -178,9 +178,18 @@ export default class Load {
             //   this.getXY(width, height, data3d.fixPoints[i].pos)
             // );
             // point.setCategory(VectorCategory.Point.FixPoint);
+            console.log(
+              "001-fixPoints-" +
+                i +
+                ":" +
+                JSON.stringify(data3d.fixPoints[i].pos)
+            );
             let text = textService.create(
               this.getXY(width, height, data3d.fixPoints[i].pos)
             );
+            console.log(
+              "002-fixPoints-" + i + ":" + JSON.stringify(text.center)
+            );
             text.setValue(data3d.fixPoints[i].text);
             text.setAngle(angle);
           }