[OpenLayers-Users] OpenLayers.Util.getRenderedDimensions bug/fix

Matthew Atkins Matthew.Atkins at loyola.com
Wed Jun 4 16:07:38 EDT 2008


I believe that there is a small glitch in the
OpenLayers.Util.getRenderedDimensions function. Within the "if"
statement on line 1376 it assigns container's width (line 1378) and
height (line 1380) but it neglects to append the unit ("px").

This was causing us some issues with popups in FireFox but adding the
units worked.

Wally Atkins



More information about the Users mailing list