UNPKG

480 BHTMLView Raw
1---
2layout: example.html
3title: WMS GetFeatureInfo (Tile Layer)
4shortdesc: Issuing GetFeatureInfo requests with a WMS tiled source
5docs: >
6 This example shows how to trigger WMS GetFeatureInfo requests on click for a WMS tile 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>