WMS GetFeatureInfo example (tile layer)

This example shows how to trigger WMS GetFeatureInfo requests on click for a WMS tile layer.

Additionally map.forEachLayerAtPixel is used to change the mouse pointer when hovering a non-transparent pixel on the map.

See the getfeatureinfo-tile.js source to see how this is done.

getfeatureinfo, forEachLayerAtPixel