From d9a44b11e08ce78a9935345f54341c2f7183edf2 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期二, 28 二月 2023 15:47:30 +0800 Subject: [PATCH] 1 --- public/LfSKyline/js/index.js | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/LfSKyline/js/index.js b/public/LfSKyline/js/index.js index 8e20f55..879f74e 100644 --- a/public/LfSKyline/js/index.js +++ b/public/LfSKyline/js/index.js @@ -15,25 +15,26 @@ showDownload: function () { $("#mapView").hide(); $("#download").show(); - let a = document.getElementById('aDownload'); + var a = document.getElementById('aDownload'); a.href = LFData + "/soft/TEv7.4.zip"; }, initSG: function () { - TerraExplorerInformationWindowEx.AttachTo3dWindow(TEWinEx); + TEInfoEx.AttachTo3dWindow(TEWinEx); SG = TEWinEx.CreateInstance("TerraExplorerX.SGWorld74"); // SGWorld74,SGWorld71,SGWorld66 SG.AttachEvent("OnLoadFinished", this.loadFinished); SG.Open(app.fly); }, loadFinished: function () { + $("#TEInfoEx").addClass("rb"); + SG.ProjectTree.ShowSearchTool = false; SG.DetachEvent("OnLoadFinished", Index.loadFinished); // var layers = []; // Index.getLayers("", layers); // Index.ininTrees("layers", layers); // Index.flyToStart(); - }, - + // getLayers: function (pid, layers) { var next = SG.ProjectTree.GetNextItem(pid, 11); while (next) { @@ -108,8 +109,7 @@ // this.menuFlag = !this.menuFlag; } } + $(function () { Index.init(); - - }); -- Gitblit v1.9.3