地图边界服务

dianlixunjian
滕嵩 2024-08-08 17:53:40 +08:00
parent ab3e25a78e
commit fb68530f0a
2 changed files with 7 additions and 5 deletions

View File

@ -468,11 +468,12 @@ const handlerDealCountry = (countyName:String = "临沂市"):void=>{
axios({
method:"get",
url:`http://175.27.168.120:8080/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Axianjie&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=xzqmc%20like%20%27%25${filterName}%25%27`,
// url:`http://175.27.168.120:8080/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Axianjie&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=xzqmc%20like%20%27%25${filterName}%25%27`,
url:`http://120.222.154.7:8090/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Ashijie&maxFeatures=50&outputFormat=application%2Fjson`,
}).then(res=>{
handlerLoadCountyLayer(res.data);
});
}else if(countyName){
} else if(countyName){
center = MAP_VIEWER[countyName].center;
zoom = MAP_VIEWER[countyName].zoom;
handlerLocation([center['lng'],center['lat']],zoom);
@ -480,7 +481,8 @@ const handlerDealCountry = (countyName:String = "临沂市"):void=>{
axios({
method:"get",
url:`http://175.27.168.120:8080/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Axianjie&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=xzqmc%20like%20%27%25${filterName}%25%27`,
// url:`http://175.27.168.120:8080/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Axianjie&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=xzqmc%20like%20%27%25${filterName}%25%27`,
url: `http://120.222.154.7:8090/geoserver/linyishi/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=linyishi%3Axianjie&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=xzqdm_1%20like%20%27%25${filterName}%25%27`,
}).then(res=>{
handlerLoadCountyLayer(res.data);
})

View File

@ -214,11 +214,11 @@
<style lang="less" scoped>
.screen-header-container {
width: 100%;
// height: 130px;
height: 100px;
// background-image: url('/public/statistical/header.png');
// background-size: 100% 96px;
background:
url('/public/statistical/mask.png') no-repeat top left / 100% 130px,
url('/public/statistical/mask.png') no-repeat top left / 100% 100px,
url('/public/statistical/header.png') no-repeat top left / 100% 96px;
position: absolute;
top: 0px;