[OpenLayers-Dev] Place Control.Panel inside a custom container
div?
Christopher Schmidt
crschmidt at metacarta.com
Thu Mar 29 18:33:07 EDT 2007
On Fri, Mar 30, 2007 at 12:04:52AM +0200, Andreas Hocevar wrote:
> Hi,
>
> in the panel.html example of the trunk, there is a div with id "panel",
> which is not used at all.
>
> Now my question: can the panel be placed inside this div instead of the map
> container? If no, would OpenLayers still work reliable if I remove the panel
> child from the map container and add it as new child to a div outside the
> map?
Yep:
new OpenLayers.Control.Panel({'div':$('panel')});
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Dev
mailing list