Files
openlayers/examples_src/getfeatureinfo-image.html

19 lines
615 B
HTML

---
template: "example.html"
title: "GetFeatureInfo example (image layer)"
shortdesc: "This example shows how to trigger WMS GetFeatureInfo requests on click for a WMS image layer."
docs: >
<p>Additionally <code>map.forEachLayerAtPixel</code> is used to change the mouse pointer when hovering a non-transparent pixel on the map.</p>
tags: "getfeatureinfo, forEachLayerAtPixel"
---
<div class="row-fluid">
<div class="span12">
<div id="map" class="map"></div>
<div class="span4 offset4 pull-right">
<div id="info" class="alert alert-success">
&nbsp;
</div>
</div>
</div>
</div>