I need to have all of the infoWindows open, I'm would prefer the answer to be in C# but I tried this
function myMap() {
var mapProp= {
center:new google.maps.LatLng(36.109667, 43.3575),
zoom:9,
};
var map=new google.maps.Map(document.getElementById("googleMap"),mapProp);
var locations={[36.3518, 43.3793],
[35.7981, 43.2932],
[36.1791, 43.4000],
[36.3518, 43.3793],
[35.7981, 43.2932],
[36.1791, 43.4000],
[36.3518, 43.3793],
[35.7981, 43.2932],
[36.1791, 43.4000]}
for (var i = 0; i < locations.length; i++) {
var marker = new google.maps.Marker({
position: new google.maps.LatLng(locations[i][1], locations[i][2]),
map: map
});
var infowindow = new google.maps.InfoWindow({
content: locations[i][0],
maxWidth: 160
});
infowindow.open(map, marker);}
}