[Users] [OpenLayers-Users] Control not working when implementing FeatureInfo

Phil Scadden p.scadden at gns.cri.nz
Thu Oct 11 04:26:55 CEST 2012


On 11/10/2012 3:16 p.m., Smaran Harihar wrote:
> Thanks Phil. I was basically creating popups and closing them, if they 
> were open, using,
>
> if (popup) popup.close();
>
> Not sure why that causes the error?

I gather that fixed it? I'm guessing the scope allowed js to remove it. 
You might need code to see if pop needs to be created. If you leave that 
line in, then step through code on response and see what value popup has 
in the error creating situation. I'd guess null.

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