[OpenLayers-Users] IE 8 this.size.w is null or not an object - OL 2.9

Andreas Hocevar ahocevar at opengeo.org
Tue May 4 19:28:05 EDT 2010


Hi,

this sounds like a known regression. It should be fixed in trunk and OpenLayers 2.9.1.

See http://trac.openlayers.org/ticket/2414.

Regards,
Andreas.

On May 5, 2010, at 00:46 , Dash wrote:

> 
> Hey folks,
> 
> I'm using OpenLayers 2.9 and everything works fine except when it comes to
> IE 8.  I've coded a click event to display the results from a getfeatureinfo
> wms request.  The error I receive is 'this.size.w' is null or not an object,
> and it refers to the OpenLayers.js build.  I've tested this with several
> different builds including the OpenLayers full build and it still breaks. 
> However, everything works great within Mozilla, Safari and Opera.  I'm not
> sure what the deal is.  Here is the line the error occurs on:
> 
> if((origTL.x+this.size.w)>(mapSize.w-this.map.paddingForPopups.right)){newTL.x=mapSize.w-this.map.paddingForPopups.right-this.size.w;}
> 
> Anyone else experience this issue?  If so, how did you resolve it? 
> Unfortunately, our shop is mainly using IE.  Any suggestions would be great
> appreciated.
> 
> Thanks.
> -- 
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/IE-8-this-size-w-is-null-or-not-an-object-OL-2-9-tp5006221p5006221.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



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.




More information about the Users mailing list