There are no specific parameters. Btw this is not called a callback, but an event listener.
https://github.com/openlayers/openlayers/blob/master/lib/OpenLayers/Layer.js#L745 Best regards, Bart -- Bart van den Eijnden OpenGeo - http://opengeo.org Expert service straight from the developers. On Sep 26, 2012, at 8:28 PM, Jürgen Dankoweit <[email protected]> wrote: > Hello, > > after spending several hours with googling and searching in the > developer documentation I didn't find anything about the callback > function for the event "visibilitychanged". > > When the callback function for "visibilitychanged" is called the > parameter of the function contains an object. Please give me a > documentation of this object because I found nothing about it. > > I'm using this in the follwing code: > > function wk_Test(e) { > // description of "e"? > } > > var test = new OpenLayers.Layer.Markers("Test", { > visibility: false, > isBaseLayer: false, > displayInLayerSwitcher: true, > eventListeners: { > visibilitychanged: wk_Test > } > }); > map.addLayer(test); > > > Thanks for the answers. > > Best regards > > Juergen > > -- > Meine stets unfertige Homepage: www.dankoweit.de > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
