Merge branch 'master' of http://192.168.20.92:8888/r/PM20230220027_Web
| | |
| | | outlineColor: Cesium.Color.DODGERBLUE, |
| | | } |
| | | }); |
| | | window.Viewer.flyTo(locationPolygonEntity, { |
| | | duration: 5, |
| | | offset: new SmartEarth.Cesium.HeadingPitchRange(0.0, SmartEarth.Cesium.Math.toRadians(-20.0)) |
| | | }); |
| | | this.setViewerFlyTo(locationPolygonEntity) |
| | | }, |
| | | setLocationPoint(res, name) { |
| | | const position = window.Viewer.entities.add({ |
| | |
| | | scale: 5.0, |
| | | }, |
| | | }); |
| | | window.Viewer.flyTo(position, { |
| | | duration: 5, |
| | | offset: new SmartEarth.Cesium.HeadingPitchRange(0.0, SmartEarth.Cesium.Math.toRadians(-20.0)) |
| | | |
| | | this.setViewerFlyTo(position) |
| | | }, |
| | | setViewerFlyTo(entity) { |
| | | window.Viewer.flyTo(entity, { |
| | | offset: { |
| | | heading: Cesium.Math.toRadians(0.0), |
| | | pitch: Cesium.Math.toRadians(-45), |
| | | range: 40000 |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | |
| | | setLocationLine(res, name) { |
| | | var position = []; |
| | | |
| | |
| | | |
| | | }, |
| | | }) |
| | | window.Viewer.flyTo(polyline, { |
| | | duration: 5, |
| | | offset: new SmartEarth.Cesium.HeadingPitchRange(0.0, SmartEarth.Cesium.Math.toRadians(-20.0)) |
| | | }); |
| | | this.setViewerFlyTo(polyline) |
| | | } |
| | | |
| | | }; |
| | |
| | | }, |
| | | restLayer: false, |
| | | isShowMap: true, |
| | | spatialTitle: null, |
| | | }, |
| | | mutations: { |
| | | //获取登录Code |
| | |
| | | > |
| | | <!-- v-resizable="'right, bottom'" --> |
| | | <div class="spatialTitle"> |
| | | <label>属性</label> |
| | | <label>{{store.state.spatialTitle }}</label> |
| | | <el-icon |
| | | @click="setSpatialClose" |
| | | :size="20" |
| | |
| | | <template> |
| | | <div class="content"> |
| | | <div |
| | | class="content" |
| | | v-drag="true" |
| | | > |
| | | <div class="title"> |
| | | <label>详细编辑</label> |
| | | <el-icon @click="setSpatialClose" :size="20" style="cursor: pointer"> |
| | | <el-icon |
| | | @click="setSpatialClose" |
| | | :size="20" |
| | | style="cursor: pointer" |
| | | > |
| | | <Close /> |
| | | </el-icon> |
| | | </div> |
| | |
| | | layerName |
| | | }}</el-checkbox> --> |
| | | {{ layerData.cnName }} |
| | | <img src="../../assets/img/layer.png" alt="" /> |
| | | <img |
| | | src="../../assets/img/layer.png" |
| | | alt="" |
| | | /> |
| | | </div> |
| | | <div class="slider-demo-block" v-show="diaphaneityShow"> |
| | | <div |
| | | class="slider-demo-block" |
| | | v-show="diaphaneityShow" |
| | | > |
| | | <div class="demonstration">透明度</div> |
| | | <el-slider |
| | | v-model="transparence" |
| | |
| | | /> |
| | | <div class="demonstration">{{ transparence }}%</div> |
| | | </div> |
| | | <div class="slider-demo-block" v-show="contrastShow"> |
| | | <div |
| | | class="slider-demo-block" |
| | | v-show="contrastShow" |
| | | > |
| | | <div class="demonstration">对比度</div> |
| | | <el-slider |
| | | v-model="contrast" |
| | |
| | | /> |
| | | <div class="demonstration">{{ contrast }}</div> |
| | | </div> |
| | | <div class="selectBox" v-show="drawingModeShow"> |
| | | <div |
| | | class="selectBox" |
| | | v-show="drawingModeShow" |
| | | > |
| | | <div class="selectTile demonstration">拉伸方式</div> |
| | | <el-select |
| | | v-model="stretchValue" |
| | |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | <div class="selectBox" v-show="colorShow"> |
| | | <div |
| | | class="selectBox" |
| | | v-show="colorShow" |
| | | > |
| | | <div class="selectTile demonstration">渲染类型</div> |
| | | <el-select |
| | | v-model="renderType" |
| | |
| | | <!-- <img :src="item.url" style="height: 30px; margin-right: 10px" /> |
| | | <span>{{ item.label }}</span> --> |
| | | |
| | | <img :src="item.url" style="height: 30px; width: 100%" /> |
| | | <img |
| | | :src="item.url" |
| | | style="height: 30px; width: 100%" |
| | | /> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | |
| | | .content { |
| | | background: #1e2a3d; |
| | | padding: 20px; |
| | | height: 400px; |
| | | // height: 400px; |
| | | margin-left: 20px; |
| | | margin-top: 40px; |
| | | min-width: 200px; |
| | | z-index: 30; |
| | | z-index: 40; |
| | | position: absolute; |
| | | .title { |
| | | font-size: 18px; |
| | |
| | | layerDetailIsshow.value = false; |
| | | layerObjData.value = e; |
| | | |
| | | store.state.spatialTitle = e.cnName; |
| | | if (res == 2) { |
| | | layerAttributeIsshow.value = true; |
| | | store.state.tab = e; |
| | |
| | | v-model="downloaVisible" |
| | | title="下载" |
| | | width="30%" |
| | | :show-close="false" |
| | | > |
| | | <div |
| | | class="spatialTable" |
| | |
| | | size="small" |
| | | @click="submitForm(downFormRef)" |
| | | >提交</el-button> |
| | | <el-button size="small">取消</el-button> |
| | | <el-button |
| | | size="small" |
| | | @click="setCloseSpatialDownload" |
| | | >取消</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | |
| | | downTable.value = menuList.value; |
| | | downloaVisible.value = true; |
| | | }; |
| | | const setCloseSpatialDownload = () => { |
| | | downloaVisible.value = false; |
| | | setClearDownload(); |
| | | }; |
| | | //定位显示 |
| | | const spaceLocation = (index, row) => { |
| | | var geom = menuTool.decr(row.geom); |