[OpenLayers-Users] IE 7/8 Openlayers.js single File Problem

Christopher Schmidt crschmidt at metacarta.com
Thu Sep 3 09:41:23 EDT 2009


On Thu, Sep 03, 2009 at 08:03:51AM -0500, Max Weidemann wrote:
> 
> Hello List,
> 
> i have a problem with the single file Libary of Openlayers. 
> (i use the version linked on the Homepage: "OpenLayers 2.8 -- $Revision:
> 9492 $")
> 
> The Problem is the following:
> I try to show some different vectorlayer on a google map.
> Some Features of the vectorlayer have labels.
> If i use the multi file libary everything works fine, but if the single file
> libary is in use the IE8 throws an Error wich looks like this. >>> Invalid
> Argument (Openlayers.js line 597 character 110)<<<

It seems likely that you're not waiting for document.onload to fire
before tarting your OL app; possibly using 'document.ready' from soe
Javascript framework. In any case, providing a link is helpful
in determining the exact nature of the problem.

-- Chris

> style.addRule('olv\\:*',"behavior: url(#default#VML); "+"position: absolute;
> display: inline-block;");
> 
> The IE7 throws no Error but did not show the labels and in Firefox there are
> no Problems.
> I have tested if it works without labels but IE8 throws the same Error.
> 
> I have absolutely no idea what the problem could be.
> Is there anything i could do to solve the problem???
> 
> cheers
> Max  
> -- 
> View this message in context: http://n2.nabble.com/IE-7-8-Openlayers-js-single-File-Problem-tp3573055p3573055.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users



More information about the Users mailing list