It was a jQuery $() problem. The noConflict method solved it. <script type="text/javascript" src="jquery-1.4.2.min.js"></script> <script type="text/javascript">$.noConflict();</script>
On Thu, May 20, 2010 at 3:42 PM, Bart van den Eijnden (OSGIS) < [email protected]> wrote: > 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 < > > [email protected]> 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 > > [email protected] > > http://openlayers.org/mailman/listinfo/users > > > > >
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
