[OpenLayers-Users] Change Layer Vis outside of LayerSwitcher
Bart van den Eijnden (OSGIS)
bartvde at osgis.nl
Sun Apr 26 12:01:07 EDT 2009
Steve,
this should be automatic since the LayerSwitcher control listens to the
changelayer event and will redraw itself.
Best regards,
Bart
Stephen Woodbridge wrote:
> Hi,
>
> If I change the visibility of a layer in JavaScript, How do I get that
> reflected in LayerSwitcher? Or maybe the question should be: How do tell
> LayerSwitcher in JavaScript that I want to change layers selected?
>
> Thanks,
> -Steve
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
>
--
Bart van den Eijnden
OSGIS, Open Source GIS
bartvde at osgis.nl
http://www.osgis.nl
More information about the Users
mailing list