Using OL 2.9.1 did not solve it.<br><br><br><div class="gmail_quote">On Thu, May 20, 2010 at 2:30 PM, Jan Henrik Øverland <span dir="ltr"><<a href="mailto:janhenrik.overland@gmail.com">janhenrik.overland@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi, Firebug reports: <span><span></span>this.div.appendChild
is not a function </span>OpenLayers.js
(line 897) -> <span style="font-family: courier new,monospace;">this.div.appendChild(this.element);</span><br><br>By using alerts I can see that this happens when the overviewmap control is added to the map:<br><br><span style="font-family: courier new,monospace;">MAP.addControl(new OpenLayers.Control.OverviewMap({</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> div: $('overviewmap'),</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> size: new OpenLayers.Size(188, 97),</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> minRectSize: 0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">}));<br><br><font face="arial,helvetica,sans-serif">The mouse position control has stopped working as well (I comment out the overviewmap and get no errors).<br>
<br>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?<br></font></span><span></span><span></span>
</blockquote></div><br>