[OpenLayers-Users] Assign layers dinamically to WMSGetFeatureInfo control
Phil Scadden
p.scadden at gns.cri.nz
Mon Aug 13 14:00:11 PDT 2012
> I'm working with WMSGetFeatureControl and I need to change dynamically
> the layers that I go to get info. I've tried assigning a layers array
> to WMSGetFeatureControl layers property, but this fails.
If I had to guess, I would say you are doing
myWMSGFScontrol.layers = myLayer;
instead of
myWMSGFScontrol.layers = [myLayer];
???
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 Users
mailing list