From 1a3cb3fb9cb52ca4effa3eeb519b7a543288c69b Mon Sep 17 00:00:00 2001 From: hbao Date: Mon, 4 Apr 2022 02:50:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homesteadSurvey/list.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/homesteadSurvey/list.vue b/src/views/homesteadSurvey/list.vue index d01c88c8..40a9592d 100644 --- a/src/views/homesteadSurvey/list.vue +++ b/src/views/homesteadSurvey/list.vue @@ -3309,6 +3309,7 @@ //featurePrefix: 'nationalwater',//工作区名称 //featureTypes: ['nationalwater:01fir'],//查询图层,可以是同一个工作区下多个图层,逗号隔开 outputFormat: "application/json", + maxFeatures:1, //filter: ol.format.filter.equalTo(t,e,r)//前者是属性名,后者是对应值 }; let url_zjdzd = that.mapGeoServerUrl + "/geoserver/zjd_dc/wfs"; //wfsurl;