[OpenLayers-Users] Simple Layer Visibility Problem...

2009-08-07 Thread BrianJ
Hi Everyone, I'm really excited to have started working with OpenLayers and all the frustrations I'm sure to experience. I have a real beginner problem here... I'm simply trying to turn a layer on or off with a form check button, and it's not working, searched the forum and can't seem to solve

Re: [OpenLayers-Users] Simple Layer Visibility Problem...

2009-08-07 Thread Bart van den Eijnden (OSGIS)
Hi, check out Firebug and you'll see the error: visible is not defined http://www.brianjamesbaldwin.com/Map/ Line 56 Try something like: function Lakeview() { parisoaks.setVisibility(document.forms[0].Lakeview.checked); } Best regards, Bart BrianJ wrote: Hi Everyone, I'm really excited to