title: Google map modal issue
body: <p>I am trying to display google map into the Twitter bootstrap modal.
  When user first click on the button <code>Show map</code> then he is able to see the map successfuly as i am generating the map <code>onclick()</code> function but when he closes the modal and reopen it then the map doesnot show properly and 90% part of the map goes grey like following</p>
  
  <p><img src="https://i.stack.imgur.com/xgXEF.png" alt="enter image description here"></p>
  
  <p>I even try this workaround that remove that whole div in which the map is bind and regenerate it but that trick doesnot work too kindly let me know how can i resolve my issue.</p>
  
  <p>Following is my js function which i am calling onclick event of show map</p>
  
  <pre><code>function mapp()
  {
  
  //google.maps.event.trigger(map, "resize");
    //$("#map_google_canvas").empty();
  $("#map_google_canvas").remove();
  
  $("#crmap").append("&lt;div id='map_google_canvas'&gt;&lt;/div&gt;")
  
  
      var myOptions = {
          center: new google.maps.LatLng(54, -2),
          zoom: 6,
          mapTypeId: google.maps.MapTypeId.ROADMAP
      };
  
      var map = new google.maps.Map(document.getElementById("map_google_canvas"), myOptions);
  
          var addressArray = new Array("London, United Kingdom", "London Road, Brentwood, United Kingdom", "Brentwood, United Kingdom");
  
  
      var geocoder = new google.maps.Geocoder();
  
      var markerBounds = new google.maps.LatLngBounds();
  
      for (var i = 0; i &lt; addressArray.length; i++) {
          geocoder.geocode({
              'address': addressArray[i]
          }, function (results, status) {
              if (status == google.maps.GeocoderStatus.OK) {
                  var marker = new google.maps.Marker({
                      map: map,
                      position: results[0].geometry.location
                  });
                  markerBounds.extend(results[0].geometry.location);
                  map.fitBounds(markerBounds);
              } else {
                  alert("Geocode was not successful for the following reason: " + status);
              }
          });
      }
  
  
  }
  </code></pre>
  
  <p>Kindly help,</p>
  
  <p>Thanks</p>