[OpenLayers-Users] How to make panzoombar invisible
Christopher Schmidt
crschmidt at metacarta.com
Wed May 27 10:53:55 EDT 2009
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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list