[OpenLayers-Users] this.div.appendChild is not a function OpenLayers.js (line 897)

Jan Henrik Øverland janhenrik.overland at gmail.com
Thu May 20 09:27:40 EDT 2010


Using OL 2.9.1 did not solve it.


On Thu, May 20, 2010 at 2:30 PM, Jan Henrik Øverland <
janhenrik.overland at gmail.com> wrote:

> Hi, Firebug reports: this.div.appendChild is not a function    OpenLayers.js
> (line 897) -> this.div.appendChild(this.element);
>
> By using alerts I can see that this happens when the overviewmap control is
> added to the map:
>
> MAP.addControl(new OpenLayers.Control.OverviewMap({
>     div: $('overviewmap'),
>     size: new OpenLayers.Size(188, 97),
>     minRectSize: 0
> }));
>
> The mouse position control has stopped working as well (I comment out the
> overviewmap and get no errors).
>
> This has worked perfectly for a long time, and I didn't change any libs
> recently. Still using OL 2.8. What could cause this error?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100520/82e44c61/attachment.html


More information about the Users mailing list