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

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Thu May 20 09:42:07 EDT 2010


Hi,

can you show us a *minimal* example to reproduce your issue?

Best regards,
Bart

> 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?
>>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>





More information about the Users mailing list