| | |
| | | } |
| | | //初始化[仅执行1次] |
| | | create() { |
| | | |
| | | this.grid_500 = this.map.getLayerById(3000); |
| | | this.grid_1000 = this.map.getLayerById(3001); |
| | | this.grid_3000 = this.map.getLayerById(3002); |
| | |
| | | this.nodejs_url_predix = mars3d.global_variables.nodejs_url_predix; |
| | | this.heatmapGroupLayer = new mars3d.layer.GroupLayer({ id: 5000, pid: 50, name: "", show: false }); |
| | | this.map.addLayer(this.heatmapGroupLayer); |
| | | console.log(this.grid_500,this.grid_5000,this.grid_3000,this,"grid this") |
| | | } |
| | | |
| | | |
| | | |
| | | //每个窗口创建完成后调用 |
| | | winCreateOK(opt, result) { |
| | | console.log(this.map,"this.map.grid") |
| | | //this.grid_500.show = true; |
| | | //this.grid_1000.show = true; |
| | | //this.grid_3000.show = true; |