From dda0e6f581e8c2b116f2eae53756d80215d6e5e0 Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期三, 01 二月 2023 09:31:37 +0800 Subject: [PATCH] 1 --- public/LfSKyline/js/index.js | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/public/LfSKyline/js/index.js b/public/LfSKyline/js/index.js index 45b82d8..9741cbb 100644 --- a/public/LfSKyline/js/index.js +++ b/public/LfSKyline/js/index.js @@ -1,7 +1,7 @@ window.SG = null; var Index = { menuFlag: true, - treePlay: 'PS\\鍏ㄥ浗绠$綉涓撻鍥惧睍绀�', + treePlay: '婕旂ず鏂规\\鏂规1', objTypes: [19, 23, 26, 29, 34, 36, 38, 39, 40], init: function () { var flag = Detect.detectIE(); @@ -19,20 +19,19 @@ a.href = LFData + "/soft/TEv7.4.zip"; }, initSG: function () { + TerraExplorerInformationWindowEx.AttachTo3dWindow(TEWinEx); + SG = TEWinEx.CreateInstance("TerraExplorerX.SGWorld74"); // SGWorld74,SGWorld71,SGWorld66 SG.AttachEvent("OnLoadFinished", this.loadFinished); - - - SG.Open(app.fly); }, loadFinished: function () { SG.DetachEvent("OnLoadFinished", Index.loadFinished); - var layers = []; - Index.getLayers("", layers); - Index.ininTrees("layers", layers); - // Index.flyToStart(); - + // var layers = []; + // Index.getLayers("", layers); + // Index.ininTrees("layers", layers); + Index.flyToStart(); + }, getLayers: function (pid, layers) { -- Gitblit v1.9.3