| | |
| | | v-model="valueX" |
| | | ></el-slider> |
| | | <span>左右截面</span> |
| | | </div> |
| | | </div>SpatialQuery |
| | | <div class="slide-bg"> |
| | | <el-slider |
| | | class="slide" |
| | |
| | | }, |
| | | // 添加TMS图层 |
| | | addTMSLayers(layers) { |
| | | debugger |
| | | for (let i in layers) { |
| | | let res = layers[i]; |
| | | res.url = res.url.indexOf("{host}") > -1 ? res.url.replace("{host}", iisHost) : res.url; |
| | |
| | | maximumLevel: 22, |
| | | enablePickFeatures: false |
| | | }), 1); |
| | | |
| | | layer.id = res.id; |
| | | layer.name = res.cnName; |
| | | if (is_production) { |
| | | Viewer.imageryLayers.raiseToTop(layer);//将图层上移一层 |
| | | Viewer.imageryLayers.lower(layer);//将图层上移一层 |
| | | } |
| | | |
| | | } |
| | | }, |
| | | // 切换Mpt |
| | |
| | | let layer = Viewer.imageryLayers.addImageryProvider(provider, 1); |
| | | layer.name = res.cnName; |
| | | |
| | | if (is_production) { |
| | | Viewer.imageryLayers.raiseToTop(layer);//将图层上移一层 |
| | | Viewer.imageryLayers.lower(layer);//将图层上移一层 |
| | | } |
| | | // if (data.result.geom) { |
| | | // let wkt = this.$wkt.parse(data.result.geom); |
| | | // Viewer.camera.flyTo({ |