I've been trying to create a Google map displaying multiple locations, but I can't seem to figure out how to adjust the size of the infowindow for each marker. I've spent several hours on this with no luck. Can anyone show me where in this function I should make changes to customize the window size? Any help would be appreciated!
function setMarkers(map,locations){
var marker, i
for (i = 0; i < locations.length; i++)
{
var location = locations[i][0]
var lat = locations[i][1]
var long = locations[i][2]
var add = locations[i][3]
latlngset = new google.maps.LatLng(lat, long);
var marker = new google.maps.Marker({
map: map, title: location , position: latlngset, icon: "tranePointer.png"
});
map.setCenter(marker.getPosition())
var content = "Location #: " + location + ' </h3>' + "Place: " + add
var infowindow = new google.maps.InfoWindow()
google.maps.event.addListener(marker,'click', (function(marker,content,infowindow){
return function() {
infowindow.setContent(content);
infowindow.open(map,marker);
};
})(marker,content,infowindow));
}
document.getElementById("zipField").value= "";
}