[OpenLayers-Users] setting location for control panel?
Imran Rajjad
rajjad at gmail.com
Wed Jun 2 09:04:31 EDT 2010
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
More information about the Users
mailing list