title: How can I get a business name, address, phone and other information in infowindow?
body: <p>I'm making a google web map in API V3.  I'd like the user to able to click on business markers and get infoWindow showing business name, address, phone, and URL.  Problem is, I can only get the infoWindow to show the business name.  I pasted this (simplified version) together from a couple of tutorials and modified it to suit my specs:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt; 
  &lt;head&gt; 
    &lt;meta http-equiv="content-type" content="text/html; charset=UTF-8" /&gt; 
    &lt;title&gt;GoogleMapHawthorne test&lt;/title&gt; 
    &lt;script src="http://maps.google.com/maps/api/js?sensor=false" 
            type="text/javascript"&gt;&lt;/script&gt;
  &lt;/head&gt; 
  &lt;body&gt;
    &lt;div id="map" style="width: 950px; height: 525px;"&gt;&lt;/div&gt;
  
    &lt;script type="text/javascript"&gt;
  
    // locationsW = locations in Wellness layer
      var locationsW = [
        ['Hawthorne Chiropractic and Healing Arts', 45.504718, -122.653155, '1222 SE Division St', '503-231-9879', 'www.hawthornechiropractic.net'],
        ['Hawthorne Wellness', 45.511934, -122.622045, '3942 SE Hawthorne Blvd', '503-235-5484', 'www.hawthornewellness.com'],
      ];
  
    // make the map
      var map = new google.maps.Map(document.getElementById('map'), {
        zoom: 14,
        center: new google.maps.LatLng(45.510000, -122.630930),
        mapTypeId: google.maps.MapTypeId.ROADMAP      
      });
  
      var infowindow = new google.maps.InfoWindow();
  
  // adding wellness markers
      var markerW, w;
  
      for (w = 0; w &lt; locationsW.length; w++) {  
        markerW = new google.maps.Marker({
          position: new google.maps.LatLng(locationsW[w][1], locationsW[w][2]),
          map: map,
          icon: {
            url: 'https://www.dropbox.com/s/frncryyoxyfecyg/WellnessGreenCross.png?raw=1',
            scaledSize: new google.maps.Size(18, 18)
  
          }
        });
  
        google.maps.event.addListener(markerW, 'click', (function(markerW, w) {
          return function() {
            infowindow.setContent(locationsW[w][0]);
            infowindow.open(map, markerW);
          }
        })(markerW, w));
      }
  
    &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I've tried stuff like this, but obviously it didn't work:</p>
  
  <pre><code>  google.maps.event.addListener(markerW, 'click', (function(markerW, w) {
      return function() {
        infowindow.setContent(locationsW[w][0][3][4][5]);
        infowindow.open(map, markerW);
  </code></pre>
  
  <p>This seems like such a basic thing that I'm sure it's been resolved elsewhere here on stack, but I don't know what terms to search on; I can find lots of stuff about infoWindows but nothing about this issue in particular.</p>
  
  <p>EDIT: Why the downvote?</p>