初始化设置报表块隐藏:
this.options.form.getWidgetByName('report11').setVisible(false);
this.options.form.getWidgetByName('report7').setVisible(false);
this.options.form.getWidgetByName('report10').setVisible(false);
在地图的特效-->交互属性中添加超链接,添加js,显示对应报表块

在报表块右上角,或左上角,添加一个报表块,放上X 图标,
对报表块添加代码:
this.options.form.getWidgetByName('report7').setVisible(false);
this.options.form.getWidgetByName('report10').setVisible(false);
this.options.form.getWidgetByName('report11').setVisible(false);
用来关闭显示的报表内容.

我字多,请采纳.