UNPKG

481 BHTMLView Raw
1---
2layout: example.html
3title: WMS GetFeatureInfo (Image Layer)
4shortdesc: Using an image WMS source with GetFeatureInfo requests
5docs: >
6 This example shows how to trigger WMS GetFeatureInfo requests on click for a WMS image layer. Additionally <code>map.forEachLayerAtPixel</code> is used to change the mouse pointer when hovering a non-transparent pixel on the map.
7tags: "getfeatureinfo, forEachLayerAtPixel"
8---
9<div id="map" class="map"></div>
10<div id="info">&nbsp;</div>