[OpenLayers-Users] strange errors with 2.11

christopher.schmidt at nokia.com christopher.schmidt at nokia.com
Tue Jun 7 08:09:00 EDT 2011


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



More information about the Users mailing list