[OpenLayers-Users] Cannot deactivate
OpenLayers.Control.PanZoomBar
Geoflo
flosflo at gmx.de
Tue Nov 25 13:16:13 EST 2008
Thanks for your help Bart.
I tried the following:
var pzb = new OpenLayers.Control.PanZoomBar();
map.addControl(pzb);
...
// deactivate PanZoomBar:
map.removeControl(pzb);
...
// activate PanZoomBar again
map.addControl(pzb);
...
The problem is, that when I add the panzoombar the second time, it will not
be displayed on the map.
But why?
--
View this message in context: http://n2.nabble.com/Cannot-deactivate-OpenLayers.Control.PanZoomBar-tp1381757p1577529.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list