WMS GetFeatureInfo(图层)
所有功能: | 6 |
酒店特色: | 2 |
餐厅特色: | 4 |
演示layers
在ol/format/WMSGetFeatureInfo
format对象中使用该选项,该选项允许单个WMS GetFeatureInfo请求返回的功能要求按层名读取多个图层。
<!DOCTYPE html><html>
<head>
<title>WMS GetFeatureInfo (Layers)</title>
<link rel="stylesheet" href="https://openlayers.org/en/v5.1.3/css/ol.css" type="text/css">
<!-- The line below is only needed for old environments like Internet Explorer and Android 4.x -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL