| | |
| | | } |
| | | //创建剖面分析对象 |
| | | var profile = new Cesium.Profile(scene); |
| | | |
| | | function createTooltip(frameDiv) {//抄录createTooltip函数 |
| | | |
| | | var tooltip = function (frameDiv) { |
| | |
| | | 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' |
| | |
| | | $("#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 () { |
| | | |
| | | }, |