Google Maps

Google maps Infobox missing in IE

I used the infobox plugin for custom infoboxes and they wouldn’t appear with IE, but it did work fine with all other browsers. At first I thought it was a z-index issue, but the solution was that you had to include the “boxStyle” property and set the opacity to 1. Apparently IE was setting the opacity of the infobox to zero by default.

var myOptions = {
	disableAutoPan: false
	,pixelOffset: new google.maps.Size(-140, -165)
	,closeBoxMargin: "7px"
	,boxStyle: {opacity: 1}
	,infoBoxClearance: new google.maps.Size(1, 1)
	,isHidden: false
	,pane: "floatPane"
	,enableEventPropagation: false
//set info 
infoWindow = new InfoBox(myOptions);