liuyg
2021-07-02 25ce610f6ecca7325e7a743dc032c4a76559c63d
widgets/profileAnalysis/Widget.js
@@ -149,7 +149,6 @@
                }
                //创建剖面分析对象
                var profile = new Cesium.Profile(scene);
                function createTooltip(frameDiv) {//抄录createTooltip函数
                    var tooltip = function (frameDiv) {
@@ -190,14 +189,13 @@
                            this.message = message;
                        }
                    };
                    return new tooltip(frameDiv);
                }
                var tooltip = createTooltip(document.body);
                var widget = viewer.cesiumWidget;
                try {
                    //添加S3M图层 // 舍弃
                    //添加S3M图层 // 舍弃
                    // var ground1Promise = scene.addS3MTilesLayerByScp(URL_CONFIG.SCP_CBD_GROUND1, {
                    //     name: 'ground1'
@@ -339,9 +337,16 @@
                    $("#pro").width(0);
                    $("#pro").height(0);
                })
                this.handlerLine = handlerLine;
                topic.subscribe("closep", lang.hitch(this, this.closep));
            },
            handlerLine: '',
            closep: function () {
                $(".jimu-widget-profileAnalysis").hide();
                this.handlerLine.clear();
                $("#pro").width(0);
                $("#pro").height(0);
            },
            onOpen: function () {
            },