openlayers
Version:
Build tools and sources for developing OpenLayers based mapping applications
11 lines (10 loc) • 480 B
HTML
layout: example.html
title: WMS GetFeatureInfo (Tile Layer)
shortdesc: Issuing GetFeatureInfo requests with a WMS tiled source
docs: >
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.
tags: "getfeatureinfo, forEachLayerAtPixel"
<div id="map" class="map"></div>
<div id="info"> </div>