<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">And also just do a console.log(e) in wk_Test and you can know the structure of any object.<div><br></div><div>Best regards,</div><div>Bart</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>-- <br>Bart van den Eijnden<br>OpenGeo - <a href="http://opengeo.org/">http://opengeo.org</a><br>Expert service straight from the developers.</div><div><br></div></span><br class="Apple-interchange-newline">

</div>
<br><div><div>On Sep 26, 2012, at 8:28 PM, Jürgen Dankoweit <<a href="mailto:Juergen.Dankoweit@T-Online.de">Juergen.Dankoweit@T-Online.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello,<br><br>after spending several hours with googling and searching in the<br>developer documentation I didn't find anything about the callback<br>function for the event "visibilitychanged".<br><br>When the callback function for "visibilitychanged" is called the<br>parameter of the function contains an object. Please give me a<br>documentation of this object because I found nothing about it.<br><br>I'm using this in the follwing code:<br><br>function wk_Test(e) {<br> // description of "e"?<br>}<br><br>var test = new OpenLayers.Layer.Markers("Test", {<br> visibility: false,<br> isBaseLayer: false,<br> displayInLayerSwitcher: true,<br> eventListeners: {<br>  visibilitychanged: wk_Test<br> }<br>});<br>map.addLayer(test);<br><br><br>Thanks for the answers.<br><br>Best regards<br><br>Juergen<br><br>-- <br>Meine stets unfertige Homepage: <a href="http://www.dankoweit.de">www.dankoweit.de</a><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/openlayers-users<br></blockquote></div><br></div></body></html>