Re: Performance problem while switching between layers using "setVisibility" (show/hide layers one by one)
This belongs in the openlayers-user group.
Vector layers with large nos of vertices do not well as you have found
because the drawing has to be done is JS. You will get far better
performance if you use WMS for display and WFS for query. (eg
http://openlayers.org/dev/examples/getfeature-wfs.html). For more
advanced queries, create the protocol as per example from WMS, and use
it for queries. This was discussed recently (and often) in the user
mailing list. You may even have a case for using WMS-T.
Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.