| | |
| | | // case "coorsys": |
| | | // coorsys(); |
| | | // break; |
| | | case "yxdbfx": |
| | | yxdbfx(); |
| | | break; |
| | | } |
| | | }); |
| | | $(".imgx").hover(function () { |
| | |
| | | sgworld.Application.Multiple3DWindows.SetAsLeader(); |
| | | sgworld.Application.Multiple3DWindows.LinkPosition(globe); |
| | | |
| | | var width = 125, height = 25; |
| | | var width = 175, height = 25; |
| | | var left = 1920 / 2 - 20 - width - 20; |
| | | |
| | | showHtmlBySG(sgworld, title, location.origin + "/checkbox.html", left, 200, width, height, false); |
| | |
| | | popup.ShowCaption = showCaption; |
| | | |
| | | sg.Window.ShowPopup(popup); |
| | | } |
| | | |
| | | //影像对比分析 |
| | | var dbfxstatus = true; |
| | | |
| | | function yxdbfx() { |
| | | if (dbfxstatus) { |
| | | //var dd= sgworld.Creator.CreatePopupMessage("tool", url + "tool/ImageComparisonPopup.html?lang=imagecom", 500, 150, 400, 140); |
| | | //sgworld.Window.ShowPopup(dd); |
| | | window.external.createPmDialogDock('tool', url + "tool/ImageComparisonPopup.html?lang=imagecom", 380, 100, 50, -1, -1, 10); |
| | | tjxstatus = false; |
| | | dbfxstatus = false |
| | | } else { |
| | | window.external.closeDialog("tool"); |
| | | dbfxstatus = true; |
| | | } |
| | | } |
| | | |
| | | //三维截面分析 |
| | |
| | | //工程树 |
| | | var projectTreeStatus = true; |
| | | |
| | | //createBorderDialog |
| | | function projectTree() { |
| | | if (projectTreeStatus) { |
| | | //sgworld.ProjectTree.ShowSearchTool = false; |
| | | window.external.createPmDialogDock('projectTree', url + "tool/ProjectTree.html", 420, 500, 200, 500, -1, -1); |
| | | //window.external.createPmDialogDock('projectTree', url + "tool/ProjectTree.html", 420, 500, 200, 500, -1, -1); |
| | | window.external.createPmDialogDock('projectTree', url + "tool/ProjectTree.html", 280, 600, 200, 20, -1, -1); //rb.width, rb.height, rb.top, rb.left, rb.bottom, rb.right |
| | | projectTreeStatus = false; |
| | | } else { |
| | | window.external.closeDialog("projectTree"); |