| | |
| | | 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) { |
| | |
| | | // this.menuFlag = !this.menuFlag; |
| | | } |
| | | } |
| | | |
| | | $(function () { |
| | | Index.init(); |
| | | |
| | | |
| | | }); |