[OpenLayers-Dev] Performance problem while switching between layers using "setVisibility" (show/hide layers one by one)
Phil Scadden
p.scadden at gns.cri.nz
Mon Oct 1 13:29:58 PDT 2012
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.
More information about the Dev
mailing list