title: lazy load google maps api v3 jQuery callback
body: <p>I do lazy loading of the google maps api v3 javascript</p>
  
  <p>The documentation says about putting as a callback parameter in the url the name of the function, which will be executed, when the script has loaded.</p>
  
  <pre><code> $(document).ready(function(){
     var s = document.createElement("script");
     s.type = "text/javascript";
     s.src  = "http://maps.google.com/maps/api/js?v=3&amp;sensor=true&amp;callback=gmap_draw";
     $("head").append(s);
   });
  </code></pre>
  
  <p>So I must define the gmap_draw() function.</p>
  
  <p>When I enclose this function in the domready block, it is not visible.</p>
  
  <p>Any workarounds of this issue ? (except putting the function out of the domready block)</p>