title: Google map's marker not center after resize on bootstrap tab
body: <p>I bought a geolocation map script and when applied to bootstrap tab it will only shown small top left span. I added resize to overcome it.</p>
  
  <pre><code>$(document).ready(function() { $(‘a[href=”#tab2”]’).click(function(e) {    setTimeout(initialise, 1000); }); &lt;/script&gt;
  
  function initialise() {
      var myMap = document.getElementById('map-myid1');
      google.maps.event.trigger(myMap, 'resize');
  };
  });
  </code></pre>
  
  <p>The problem I am facing is the marker of map not center, it will hide left outside of map. How to fix it?</p>
  
  <p><a href="http://bestjob.my/mod/Gmap_Geo/" rel="nofollow">See in real action</a></p>