Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Maps infowindow close button is hidden

Tags:

google-maps

I used Google Maps in my website with multiple markers and multiple infowindows. Somehow the the close buttons (the little x) stays hidden inside the infowindow, but works if clicked at the position where it should be displayed. How to fix this?

like image 352
Subash Avatar asked May 23 '13 07:05

Subash


1 Answers

fixed it, apparently bootstrap.css was conflicting with the images and had to use these few extra lines of css

<style type="text/css">
/** FIX for Bootstrap and Google Maps Info window styes problem **/
img[src*="gstatic.com/"], img[src*="googleapis.com/"] {
max-width: none;
}
</style>

anyone facing the same problem may solve your issue using this.

like image 131
Subash Avatar answered Nov 16 '22 02:11

Subash