| | |
| | | that[item.id] = scene.open(host + partOfUrl, undefined, { |
| | | autoSetView: false //不自动定位 |
| | | }); |
| | | console.log(222) |
| | | // console.log(222) |
| | | topic.publish('appendTilt', 'Layermanagement', item); |
| | | topic.publish('appendTiltS', 'spatialAnalysis', item); |
| | | topic.publish('addLayersLegends', 'legends', item); |
| | |
| | | destination: rectangle |
| | | }); |
| | | }); |
| | | console.log(444) |
| | | // console.log(444) |
| | | topic.publish('appendItem', 'Layermanagement', item, that[item.id]); |
| | | topic.publish('appendItemS', 'spatialAnalysis', item, that[item.id]); |
| | | topic.publish('addLayersLegends', 'legends', item); |
| | |
| | | that[obj.data.id] = scene.open(host + partOfUrl, undefined, { |
| | | autoSetView: false //不自动定位 |
| | | }); |
| | | console.log(333) |
| | | // console.log(333) |
| | | topic.publish('appendTilt', 'Layermanagement', obj.data); |
| | | topic.publish('appendTiltS', 'spatialAnalysis', obj.data); |
| | | topic.publish('addLayersLegends', 'legends', obj.data); |
| | |
| | | destination: rectangle |
| | | }); |
| | | }); |
| | | console.log(555) |
| | | // console.log(555) |
| | | topic.publish('appendItem', 'Layermanagement', obj.data, that[obj.data.id]); |
| | | topic.publish('appendItemS', 'spatialAnalysis', obj.data, that[obj.data.id]); |
| | | topic.publish('addLayersLegends', 'legends', obj.data); |