| | |
| | | <template> |
| | | <div class="mapBox"> |
| | | <div id="mapdiv"> |
| | | <div class="menu_Top" v-if="$store.state.mapMenuBoolean"> |
| | | <map-menu-top v-if="$store.state.mapMenuBoxFlag == '1'" /> |
| | |
| | | <div class="box-body"> |
| | | <el-form ref="form" :model="pathFrom" label-width="50px"> |
| | | <el-form-item label="经度:"> |
| | | <el-input |
| | | style="width: 300px" |
| | | v-model="pathFrom.lon" |
| | | ></el-input> |
| | | <el-input style="width: 300px" v-model="pathFrom.lon"></el-input> |
| | | <el-link |
| | | :underline="false" |
| | | @click="showMouseLeftClick(1)" |
| | |
| | | ></el-link> |
| | | </el-form-item> |
| | | <el-form-item label="纬度:"> |
| | | <el-input |
| | | style="width: 300px" |
| | | v-model="pathFrom.lat" |
| | | ></el-input> |
| | | <el-input style="width: 300px" v-model="pathFrom.lat"></el-input> |
| | | <el-link |
| | | :underline="false" |
| | | @click="showMouseLeftClick(2)" |
| | |
| | | ></div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | import mapMenuPop from './MapView/mapMenuPop.vue'; |
| | | import mapSpaceTop from './MapView/mapSpaceTop.vue'; |
| | | import mapSpacePop from './MapView/mapSpacePop.vue'; |
| | | |
| | | import { |
| | | select_Comprehensive_ByPageAndCount, |
| | | select_Comprehensive_SelectWktById, |
| | |
| | | }, |
| | | //显示弹窗 |
| | | showChangeBox(res) { |
| | | if (res.name == 'Query') { |
| | | switch (res.name) { |
| | | case 'Query': |
| | | if (res.id == '6') { |
| | | } else if (res.id == '7') { |
| | | } else { |
| | | this.showBufferBoxDialog = true; |
| | | } |
| | | } else if (res.name == 'Coord') { |
| | | break; |
| | | case 'Coord': |
| | | if (res.id == '1') { |
| | | this.showCoordLocalBoxDialog = true; |
| | | } else if (res.id == '2') { |
| | | this.showToponymicLocalBoxDialog = true; |
| | | this.getToponymicData(); |
| | | } |
| | | } else if (res.name == 'Analysis') { |
| | | break; |
| | | case 'Analysis': |
| | | if (res.id == '3') { |
| | | this.showPathAnalysisBoxDialog = true; |
| | | } |
| | | break; |
| | | case 'exportLayer': |
| | | if (res.id == 1) { |
| | | } else if (res.id == 2) { |
| | | this.changeMenulayer(); |
| | | } |
| | | break; |
| | | } |
| | | // if (res.name == 'Query') { |
| | | // } else if (res.name == 'Coord') { |
| | | // } else if (res.name == 'Analysis') { |
| | | // } |
| | | }, |
| | | handleSizeChange(val) { |
| | | this.listData.pageSize = val; |
| | |
| | | </script> |
| | | |
| | | <style scoped lang="less"> |
| | | .mapBox { |
| | | width: 100%; |
| | | height: 100%; |
| | | overflow: hidden; |
| | | margin: 0; |
| | | padding: 0; |
| | | // .mapBox { |
| | | // width: 100%; |
| | | // height: 100%; |
| | | // overflow: hidden; |
| | | // margin: 0; |
| | | // padding: 0; |
| | | |
| | | #mapdiv { |
| | | width: 100%; |
| | |
| | | overflow: hidden; |
| | | margin: 0; |
| | | padding: 0; |
| | | position: absolute; |
| | | position: relative; |
| | | |
| | | .toponymicLocalBox { |
| | | width: 750px; |
| | |
| | | } |
| | | .pathAnalysisBox { |
| | | width: 412px; |
| | | |
| | | z-index: 40; |
| | | position: absolute; |
| | | right: 1%; |
| | | bottom: 1%; |
| | | } |
| | | .exportBoxLayer { |
| | | z-index: 40; |
| | | position: absolute; |
| | | top: 3%; |
| | | left: 20%; |
| | | } |
| | | .exportMenuLayer { |
| | | z-index: 40; |
| | | position: absolute; |
| | | top: 15%; |
| | | left: 2%; |
| | | width: 15%; |
| | | } |
| | | .box-body { |
| | | padding: 18px; |
| | |
| | | z-index: 40; |
| | | } |
| | | } |
| | | } |
| | | // } |
| | | |
| | | // /deep/ |
| | | // /deep/ .el-input__inner { |
| | |
| | | // ::v-deep .el-pagination__jump { |
| | | // color: white; |
| | | // } |
| | | // .center { |
| | | // left: 1%; |
| | | // } |
| | | // .CenDiv { |
| | | // position: absolute; |
| | | // bottom: 1%; |
| | | // height: 40px; |
| | | // width: 60px; |
| | | // z-index: 101; |
| | | // display: flex; |
| | | // flex-direction: column; |
| | | // justify-content: space-between; |
| | | // box-shadow: 3px 3px 6px #666; |
| | | // border: 1px solid rgba(204, 204, 204, 0.76); |
| | | // border-radius: 5px; |
| | | // cursor: pointer; |
| | | // } |
| | | .center { |
| | | left: 1%; |
| | | } |
| | | .CenDiv { |
| | | position: absolute; |
| | | bottom: 1%; |
| | | height: 40px; |
| | | width: 60px; |
| | | z-index: 101; |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: space-between; |
| | | box-shadow: 3px 3px 6px #666; |
| | | border: 1px solid rgba(204, 204, 204, 0.76); |
| | | border-radius: 5px; |
| | | cursor: pointer; |
| | | } |
| | | // .center1 { |
| | | // right: 1%; |
| | | // } |
| | |
| | | // .CenDiv:hover { |
| | | // border: 1px solid #409eff; |
| | | // } |
| | | // .active { |
| | | // width: 100%; |
| | | // height: 100%; |
| | | // background: url('../assets/img/Layer/imgLayer2.png') no-repeat center; |
| | | // position: absolute; |
| | | // background-size: 100% 100%; |
| | | // border-radius: 5px; |
| | | // } |
| | | // .menuLayer { |
| | | // width: 100%; |
| | | // height: 100%; |
| | | // background: url('../assets/img/Layer/imgLayer1.png') no-repeat center; |
| | | // position: absolute; |
| | | // background-size: 100% 100%; |
| | | // border-radius: 5px; |
| | | // } |
| | | .active { |
| | | width: 100%; |
| | | height: 100%; |
| | | background: url('../assets/img/Layer/imgLayer2.png') no-repeat center; |
| | | position: absolute; |
| | | background-size: 100% 100%; |
| | | border-radius: 5px; |
| | | } |
| | | .menuLayer { |
| | | width: 100%; |
| | | height: 100%; |
| | | background: url('../assets/img/Layer/imgLayer1.png') no-repeat center; |
| | | position: absolute; |
| | | background-size: 100% 100%; |
| | | border-radius: 5px; |
| | | } |
| | | |
| | | // .menuSelect .el-input__inner { |
| | | // background: rgba(255, 255, 255, 0.2) !important; |