[OpenLayers-Users] Control-Button outside the map
Tim Balschmiter
tb.rostock at gmail.com
Wed Oct 23 21:58:14 PDT 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20131024/39113e15/attachment.html>
More information about the Users
mailing list