[OpenLayers-Users] Prevent layer from WMSGetFeatureInfo request on openlayers web map

Olivier Terral olivier at geomatic.ch
Thu Jun 28 04:35:37 PDT 2012


Hi,

Defines the "layers" property of your WMSGetFeatureInfo control.

This property takes an array of layers to query.

Le 28 juin 2012 à 12:02, sacprasanna a écrit :

> I use  http://openlayers.org/dev/examples/getfeatureinfo-control.html this 
> example code get feature info from my openlayers web map.I add 4 layers to
> map including raster image as base map. But i don't need feature info from
> that raster layer.But when clicking on the map to get information It gives
> information of all layers.
> 
> How I modify above mentioned example code to prevent information from raster
> layer?
> 
> Pls help me,Any idea welcome.Thanks
> 
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/Prevent-layer-from-WMSGetFeatureInfo-request-on-openlayers-web-map-tp4984512.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

Olivier Terral


 
GEOMATIC Ingénierie SA
Société du groupe Ringier
Chemin des Croisettes 26
1066 Epalinges
www.geomatic.ch
www.thevirtualcity.ch
Tél:: +41 (21) 651 30 00
Fax: +41 (21) 651 30 09




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120628/e078a21f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.gif
Type: image/gif
Size: 5116 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120628/e078a21f/attachment-0001.gif>


More information about the Users mailing list