Hi, A workaround(not the best solution) could be to check/parse on "event.text". If that doesn't contain your required info, you may avoid adding popup to the map.
-Ravi. ________________________________ From: maw269 <maw...@gmail.com> To: us...@openlayers.org Sent: Thu, April 7, 2011 9:30:53 AM Subject: [OpenLayers-Users] Re: Popups appear on every click? I don't think it is that. Here is my WMS layer PostCodes = new OpenLayers.Layer.WMS("UK Post Codes", "http://domain/geoserver/wms", { layers: 'WebCOP:PostCodes', transparent: true}, {'buffer':1, visibility: true} ); -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Popups-appear-on-every-click-tp6247348p6250033.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users