davidrepko / 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

open method fails if map param specified and var named "map" not visible to open method #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If a map is specified in the "map" param of the "open" method, the method will 
ignore the value of the param and attempt to assign the infowindow to a 
variable named "map", which isn't defined within infobubble.js. This bug can be 
fixed by changing line 968 of infobubble.js from...

this.setMap(map);

...to...

 this.setMap(opt_map);

...which will cause it to use the value passed to the "map" param.

Original issue reported on code.google.com by dpoirier...@gmail.com on 8 Dec 2010 at 11:14

GoogleCodeExporter commented 9 years ago
This issue applies to the infobubble utility. Sorry, I didn't notice that this 
is an issue list for all of the utilities, and I can't seem to change the title 
of the issue or edit my initial report.

Original comment by dpoirier...@gmail.com on 8 Dec 2010 at 11:25

GoogleCodeExporter commented 9 years ago
This was fixed a while back, sorry didn't see this bug :)

Original comment by lu...@google.com on 9 Feb 2011 at 5:43