Hi

my map has default panning buttons and zoom bar..i also tried to add
zoombox and drag pan .. but my zoom box and drag panel aprea over the
previous controls  , what can i do to set this


my code:

var zb = new OpenLayers.Control.ZoomBox({title:"Zoom box: zoom on an
area by clicking and dragging."});

var panel = new OpenLayers.Control.Panel({defaultControl: zb}); //
default control of panel is zoombox

panel.addControls([new
OpenLayers.Control.MouseDefaults({title:'default mouse
configuration'}),zb]); // nav and zoom box
map.addControl(panel); // adding map control

i want to add these controls to somewher near the bottom or in another
html component.. is it posible

-- 
I.R
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to