xushiting 4 年之前
父节点
当前提交
a619b79e3a
共有 2 个文件被更改,包括 7 次插入5 次删除
  1. 6 4
      IndoorViewerAPI.js
  2. 1 1
      index.html

+ 6 - 4
IndoorViewerAPI.js

@@ -123088,10 +123088,11 @@ and limitations under the License.
             this.proj4Transformer = t
             this.proj4Transformer = t
         }
         }
         return t.prototype.forward = function(t) {
         return t.prototype.forward = function(t) {
-            // var e = this.proj4Transformer.forward(t);
-            // return t.x = e.x,
-            // t.y = e.y,
-            // t
+            var e = this.proj4Transformer.forward(t);
+            return t.x = e.x,
+            t.y = e.y,
+            t
+            /*
             var e = this.proj4Transformer.forward(t);
             var e = this.proj4Transformer.forward(t);
             console.log('t-x:'+t.x+',t-y'+t.y);
             console.log('t-x:'+t.x+',t-y'+t.y);
             if(t.x == 113.59571152939596 || t.y == 22.366594630499026 ){
             if(t.x == 113.59571152939596 || t.y == 22.366594630499026 ){
@@ -123122,6 +123123,7 @@ and limitations under the License.
                 t.y = e.y;
                 t.y = e.y;
             }
             }
             return t;
             return t;
+            */
         }
         }
         ,
         ,
         t.prototype.inverse = function(t) {
         t.prototype.inverse = function(t) {

+ 1 - 1
index.html

@@ -22,7 +22,7 @@
 <script type="text/javascript">
 <script type="text/javascript">
     const ossPrefix = 'https://laser.4dkankan.com/data/';
     const ossPrefix = 'https://laser.4dkankan.com/data/';
     const ossPrefixDep = 'https://laser.4dkankan.com/public/';
     const ossPrefixDep = 'https://laser.4dkankan.com/public/';
-    const sceneNum = 't-SNZRfWt';
+    const sceneNum = '@replace';
 </script>
 </script>
 <script src="IndoorViewerAPI.js"></script>
 <script src="IndoorViewerAPI.js"></script>
 <script type="text/javascript" src="js/OBJExporter.js"></script>
 <script type="text/javascript" src="js/OBJExporter.js"></script>