Google maps Infobox missing in IE
0I 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);
Hi I'm Nick Bartlett and thanks for visiting my blog. I'm not much of a writer; many of my posts are short and to the point while others are meant to be a reference for myself and other web developers.