On Wed, May 27, 2009 at 04:49:15PM +0200, Kris Geusebroek wrote: > Hi all, > > > > I want to make the panzoombar control invisible when I deactivate it so > that I can make it visible again if activated. > > I found issue 1764 stating this won't be released soon. > > > > But is there a way I can do it programmatically. > > I already tried setting the display of the control.div to none but that > doesn't work
Opening controls.html, and typing in: map.controls[1].div.style.display="none"; into firebug successfully hides the panzoombar for me. -- Chris > > > > Cheers Kris > > > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
