There isnt too many shortcuts to getting to know js. One of the things that will ease the journey though is getting to know firebug or Chrome development tools. These allow you to set breakpoints, step through code and examine variables as you go. I would strongly suggest you step through the code in firebug. You error message implies you have a variable which you think is a layer, but is in fact null. Could be as simple as a spelling mistake or incorrect case.

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.

_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to