Openlayers5 + Geoserver 實現wfs的屬性查詢與空間查詢

簡介:使用Openlayers5.3,通過Geoserver實現wfs服務矢量的查詢 參考官方例子:https://openlayers.org/en/latest/examples/vector-wfs-getfeature.html 我的Geoserver工作區截圖如下,命名空間URI可以自定義,後面要用。 屬性查詢代碼如下: //首先定義一個空的矢量圖層,設置樣式並添加到當前map中 va
相關文章
相關標籤/搜索