You're querying all visible layers ( queryVisible: true), try changing that for: layers:"yor list of layers" That should do it Regards P -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100222/b9438a82/attachment.html