[OpenLayers-Dev] LayerSwitcher redraw called multiple times with WMC
Semantica
jvanulde at nrcan.gc.ca
Wed Sep 24 20:33:55 EDT 2008
Hi all,
I am working on an add-in for WMC based applications that provides advanced
legend interactivity. Take a look here:
http://dev.openlayers.org/sandbox/jvanulden/openlayers/examples/extended-layerswitcher.html.
Code is attached.
For some reason, IE never completes the request for the map. I am pretty
sure that it has something to do with the img buttons I am using for the
controls. However, when I started to debug I noticed that the redraw method
on the LayerSwitcher is called multiple times when the application is
initialized. Is this common when loading WMC layers? If not, can someone
take a look at my code and provide some insight on what the issue(s) may be?
Thank you in advance!
http://n2.nabble.com/file/n1116852/LayerSwitcher.js LayerSwitcher.js
--
View this message in context: http://n2.nabble.com/LayerSwitcher-redraw-called-multiple-times-with-WMC-tp1116852p1116852.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
More information about the Dev
mailing list