[OpenLayers-Users] Documentation for the callback function for "visibilitychanged"
Bart van den Eijnden
bartvde at opengeo.org
Thu Sep 27 00:08:24 PDT 2012
And also just do a console.log(e) in wk_Test and you can know the structure of any object.
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/a074e6f5/attachment.html>
More information about the Users
mailing list