[OpenLayers-Users] strange errors with 2.11
Nicholas Efremov-Kendall
n.e.kendall at gmail.com
Tue Jun 7 08:53:29 EDT 2011
H Chris,
Thanks for clarifying. I'm still confused as I've checked the markup, and
I'm reasonably sure that I have all the requisite tags and properly closed.
Is there something obvious I might be missing otherwise. I'm pretty sure
that I don't have any jscript which is manipulating the dom. Anyway, I've
traded this error for something else...
On Tue, Jun 7, 2011 at 7:09 AM, <christopher.schmidt at nokia.com> wrote:
> OpenLayers assumes that you have a reasonably valid HTML document -- which
> means you need to have a
> <head> element. (I think that if you set theme: null and include the CSS
> yourself, this requirement
> doesn't exist.)
>
> -- Chris
>
> On Jun 1, 2011, at 1:10 PM, ext Nicholas Efremov-Kendall wrote:
>
> > Hi all,
> >
> > I'm having some strange errors with OL 2.11 being loaded locally. I'm
> getting two different errors in chrome and firefox coming from the
> openlayers.js file.
> >
> > Firefox reports document.getElementsByTagName("head")[0] is undefined,
> error in OL.js line 276.
> >
> > Chrome gives me a different error: Uncaught TypeError: Cannot call method
> 'appendChild' of undefined at OL.js line 276, and in main.js line 12.
> >
> > any ideas what's causing this error?
> > _______________________________________________
> > Users mailing list
> > Users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110607/83a98e8b/attachment.html
More information about the Users
mailing list