[OpenLayers-Users] Changing the Panzoombar position

cgp carina_palanca at forcorp.com
Fri Dec 4 15:53:34 EST 2009


I want to put the OpenLayers.Control.PanZoomBar() a different position on the
map (or screen). I've tried changing the default CSS style but that didn't
work. 

I have also used PanZoomBar.position = new
OpenLayers.Pixel((window_width/2)-25,30);
But it doesn't move to the correct position when resizing the window. (some
issue with the onresize() event triggering three times in a row)

Thanks for your help.
-- 
View this message in context: http://n2.nabble.com/Changing-the-Panzoombar-position-tp4114865p4114865.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list