Files
openlayers/examples/getfeatureinfo-image.html
2015-11-18 09:56:15 -07:00

11 lines
481 B
HTML

---
layout: example.html
title: WMS GetFeatureInfo (Image Layer)
shortdesc: Using an image WMS source with GetFeatureInfo requests
docs: >
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.
tags: "getfeatureinfo, forEachLayerAtPixel"
---
<div id="map" class="map"></div>
<div id="info">&nbsp;</div>