Hi list,
i want to display a lot of control panels outside the map, when i am using
the porpertie "div" by each control-panel, i´m getting only the latest
element, it seems that the last element overwrites the existing element.
So that is my code:
{
var printMapPanel = new OpenLayers.Control.Panel(
{
displayClass:'printmap-panel',
defaultControl:button,
div: document.getElementById(form) ,
);
}
button.activate();
printMapPanel.addControls(button);
data.openlayers.addControl(printMapPanel);
Maybe some of you can explain why it does not work?
thanks a lot and best regards
tim
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users