tragomio / google-maps-utility-library-v3

Automatically exported from code.google.com/p/google-maps-utility-library-v3
Apache License 2.0
0 stars 0 forks source link

*IE error if infobubble constructor is called when DIV is hidden #223

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Here's a demo:

    http://stage.villa.xandercms.com/en/points-of-interest/council-square/

The map is generated in this file

http://stage.villa.xandercms.com/workspace/themes/default/sites/default/widgets/
map/js/map.js

In IE 8, the script throws an error on line 40 when calling the constructor for 
InfoBubble.

Using the v0.8 uncompressed version of infobubble.js, the error lies on line 
1717:

    this.contentContainer_.style['width'] = this.px(width);

NB: The DIV holding the map is inside a Twitter Bootstrap modal => it is hidden.

Original issue reported on code.google.com by vlad.gh...@xandergroup.ro on 22 Jan 2013 at 10:14