[OpenLayers-Users] Documentation for the callback function for "visibilitychanged"

Bart van den Eijnden bartvde at opengeo.org
Thu Sep 27 00:07:32 PDT 2012


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 <Juergen.Dankoweit at T-Online.de> 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
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120927/0c5c1c62/attachment.html>


More information about the Users mailing list