title: InfoWindow with button
body: <p>I have a map showing my location and restaurants nearby. I wanted to click on a restaurant and have an <code>InfoWindow</code> appear with information about the restaurant and a button to search for bars nearby that restaurant. However, I can't seem to find how to have the info and the button in the same window, if one appears the other doesn't.</p>
  <p>Here is the code for the marker:</p>
  <pre><code>function createMarker(place) {
              var infowindow = new google.maps.InfoWindow();
              var placeLoc = place.geometry.location;
              var marker = new google.maps.Marker({
                  map: map,
                  position: place.geometry.location
              });
              markers.push(marker);
  
              
              var infowindow = new google.maps.InfoWindow({
                  content: &quot;&lt;div&gt;&lt;input type='submit' id='butSubmit' value='Procurar' onclick='BarFind()'&gt;&lt;/div&gt;&quot;
              });
  
             
              google.maps.event.addListener(marker, 'click', function() {
                  infowindow.setContent(place.name);
                  infowindow.open(map, this);
              });
          }
  </code></pre>
  <p>Any help would be appreciated.</p>