title: Google maps v3: how to force reloading of tiles
body: <p>I have come accross pretty annoying problem. I started to test my google maps code with slower internet connection and it doesnt pretty much work anymore like it suppose to. </p>
  
  <p>The problem is that I am listening <code>"tilesloaded"</code> event when Im doing animations on map BUT because connection is slow some tiles might hang and doesnt load.. there will be gray tile middle of the map and my program wont continue because it waits it to be loaded.</p>
  
  <p>I used firebug console to catch error and it said:</p>
  
  <p>Image corrupt or truncated: <a href="https://mts0.googleapis.com/vt?lyrs=m@183000000&amp;src=apiv3&amp;hl=fi-FI&amp;x=18706&amp;y=8527&amp;z=15&amp;s=Galil&amp;style=api%7Csmartmaps" rel="nofollow">https://mts0.googleapis.com/vt?lyrs=m@183000000&amp;src=apiv3&amp;hl=fi-FI&amp;x=18706&amp;y=8527&amp;z=15&amp;s=Galil&amp;style=api%7Csmartmaps</a></p>
  
  <p>I pasted that to browser and found the missing tile image from there. darn it! It exists but sometimes doesnt load :)</p>
  
  <p>So the question is that <strong>how I can force reloading of missing tiles or all tiles</strong> after some period of time, as far as I know there is no such event which will be triggered if some tile cant be loaded? and it seems that error which appeared to console are not given always. I also tried using <code>"idle"</code> event of google maps but it doesnt wait tiles to be loaded and will make program continue as laggy. (not someting what I want.) </p>
  
  <p>I am also using <code>google.maps.event.trigger(my_map, 'resize');</code> but it doenst seem to help.</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>Refreshing full page is not an option because I would lose values of my variables etc. and this slow loading is hard to test but occurs when panning to some specific point on map which is so far that tiles needs to be reloaded.</p>
  
  <p>Any ideas? Thnx in advance!</p>