| | |
| | | map.startDraw( |
| | | { |
| | | type: 'polygon', |
| | | style: { text: name ,color:this.color}, |
| | | style: { text: name ,color:this.color, clampToGround: true}, |
| | | attr: { |
| | | name, |
| | | }, |
| | |
| | | map.addModel({ |
| | | link: 'http://222.92.213.22:8006/b3dm130/tileset.json', |
| | | name: '130万吨模型图', |
| | | modifyZ: -45, |
| | | callback: tileset => { |
| | | var boundingSphere = tileset.boundingSphere; |
| | | var cartographic = Cesium.Cartographic.fromCartesian( |
| | |
| | | map.addModel({ |
| | | link: 'http://222.92.213.22:8006/b3dm60/tileset.json', |
| | | name: '60万吨模型图', |
| | | modifyZ: -1340, |
| | | callback: tileset => { |
| | | var boundingSphere = tileset.boundingSphere; |
| | | var cartographic = Cesium.Cartographic.fromCartesian( |
| | |
| | | html: |
| | | "<div class='popup-wrapper'>" + |
| | | attr.name + |
| | | '<br/><br/>XXXXXXXX</div>', |
| | | '</div>', |
| | | position: cartesian3, |
| | | anchor: [-170, -80], |
| | | }); |
| | |
| | | padding-bottom: 10px; |
| | | } |
| | | .analyseUnit_input{ |
| | | width:300px; |
| | | width:200px; |
| | | } |
| | | </style> |