27 lines
645 B
HTML
27 lines
645 B
HTML
---
|
|
layout: example.html
|
|
title: WMS GetFeatureInfo (Layers)
|
|
shortdesc: >
|
|
Shows how to fetch features per layer name in a single WMS GetFeatureInfo
|
|
request
|
|
docs: >
|
|
Demonstrates the use of the `layers` option in the
|
|
`ol/format/WMSGetFeatureInfo` format object, which allows features returned
|
|
by a single WMS GetFeatureInfo request that asks for more than one layer
|
|
to be read by layer name.
|
|
---
|
|
<table id="info">
|
|
<tr>
|
|
<td>All features:</td>
|
|
<td id="all"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Hotel features:</td>
|
|
<td id="hotel"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Restaurant features:</td>
|
|
<td id="restaurant"></td>
|
|
</tr>
|
|
</table>
|