[OpenLayers-Users] PanZoomBar position

R. Ortner reinhard.ortner at edu.fh-kaernten.ac.at
Tue Nov 6 07:01:27 EST 2007


hi,

i set the panzoombar outside the map, but now i cant change the position of
the panzoombar. It allways remain in the left upper corner of the page. 

Where can I change the position? i tried this and this works for the
layerswitche and the editingtoolbar but not for the panzoombar! why?


map.addControl(new
OpenLayers.Control.PanZoomBar({'div':OpenLayers.Util.getElement('panzoombar')}));

  <div id="panzoombar"
style="position:absolute;left:1050px;top:120px;width:35px;height:100px;background:transparent;z-index:100"></div>
-- 
View this message in context: http://www.nabble.com/PanZoomBar-position-tf4757645.html#a13605271
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list