| | |
| | | v-model="searchName" |
| | | @change="handleSearchChange(item)" |
| | | > |
| | | <el-button slot="append" icon="el-icon-search"></el-button> |
| | | <el-button |
| | | slot="append" |
| | | icon="el-icon-search" |
| | | ></el-button> |
| | | </el-input> |
| | | </div> |
| | | <div class="popover-content__list"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="bottom13"> |
| | | <div class="bottom13-wrapper" :class="isExpand ? 'expend' : 'fold'" @mouseover="handleMouseOver" @mouseout="handleMouseOut"> |
| | | <div |
| | | class="bottom13-wrapper" |
| | | :class="isExpand ? 'expend' : 'fold'" |
| | | @mouseover="handleMouseOver" |
| | | @mouseout="handleMouseOut" |
| | | > |
| | | <div |
| | | v-for="item in yxList" |
| | | yxList |
| | |
| | | Viewer.imageryLayers._layers[2].show = false |
| | | Viewer.imageryLayers._layers[3].show = false |
| | | if (yunxuanLayer) { |
| | | yunxuanLayer.item.show = false |
| | | Viewer.imageryLayers.remove(yunxuanLayer); |
| | | yunxuanLayer = null |
| | | } |
| | | |
| | | switch (name) { |
| | | case "晕渲图": |
| | | if (yunxuanLayer == null) { |
| | | var urls = "https://tiles3.geovisearth.com/base/v1/ter" |
| | | // 星图地球地形晕渲 |
| | | yunxuanLayer = sgworld.Creator.createUrlTemplateImageryProvider( |
| | | "星图地球地形晕渲", |
| | | { |
| | | url: |
| | | urls + |
| | | "/{z}/{x}/{y}?format=webp&token=486dac3bec56d7d7c2a581c150be2bd937462f1e8f3bc9c78b5658b396122405", |
| | | }, |
| | | "0", |
| | | undefined, |
| | | true, |
| | | "" |
| | | ) |
| | | // var urls = "https://tiles3.geovisearth.com/base/v1/ter" |
| | | // // 星图地球地形晕渲 |
| | | // yunxuanLayer = sgworld.Creator.createUrlTemplateImageryProvider( |
| | | // "星图地球地形晕渲", |
| | | // { |
| | | // url: |
| | | // urls + |
| | | // "/{z}/{x}/{y}?format=webp&token=486dac3bec56d7d7c2a581c150be2bd937462f1e8f3bc9c78b5658b396122405", |
| | | // }, |
| | | // "0", |
| | | // undefined, |
| | | // true, |
| | | // "" |
| | | // ) |
| | | var urls = "http://t0.tianditu.com/ter_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=ter&tileMatrixSet=w&TileMatrix={TileMatrix}&TileRow={TileRow}&TileCol={TileCol}&style=default&format=tiles&tk="; |
| | | var tokne = "94a34772eb88317fcbf8428e10448561" |
| | | yunxuanLayer = Viewer.imageryLayers.addImageryProvider(new Cesium.WebMapTileServiceImageryProvider({ |
| | | url: urls + tokne, |
| | | layer: "tdtImgLayer", |
| | | style: "default", |
| | | format: "image/jpeg", |
| | | tileMatrixSetID: "GoogleMapsCompatible", |
| | | })) |
| | | Viewer.imageryLayers.lowerToBottom(yunxuanLayer);//将图层移到最底层 |
| | | |
| | | Viewer.imageryLayers.raise(yunxuanLayer);//将图层上移一层 |
| | | } |
| | | |
| | | yunxuanLayer.item.show = true |
| | | |
| | | |
| | | break |
| | | case "影像图": |
| | |
| | | return menu.children |
| | | // return menu.children.filter(item => item.name.indexOf(searchName) > -1) |
| | | }, |
| | | handleSearchChange(currMenu) {}, |
| | | handleSearchChange(currMenu) { }, |
| | | async getCountProjectDisplay() { |
| | | // const res = await countProjectLocation() |
| | | // if (res.code === 200) { |