[OpenLayers-Users] PanZoomBar position

bradleyspencer brad at cubewerx.com.au
Tue Nov 6 07:41:21 EST 2007


This is how I do it with no real problems.

http://demo.cubewerx.com.au/test.html

Cheers,

Brad Spencer


-----Original Message-----
From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org]On
Behalf Of R. Ortner
Sent: Tuesday, 6 November 2007 11:01 PM
To: users at openlayers.org
Subject: [OpenLayers-Users] PanZoomBar position


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;backg
round: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.

_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users




More information about the Users mailing list