I am making a google map with a few locations. I've played with this for a few hours and can't seem to figure out where I need to set the appropriate values to make the infowindow bigger for each map marker.
Here is the function I am using to set the markers and infowindows. Where can I throw values in to change the size of the window. Thanks!
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= "";
}