title: How to use google map API in a "src" javascript script
body: <p>I use google map API in my index.html :</p>
  
  <pre><code>    &lt;script src="https://maps.googleapis.com/maps/api/js?key=MY_KEY&amp;libraries=places&amp;callback=initAutocomplete" async defer&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I can use Google Map with <code>google.maps</code> object in my index.html</p>
  
  <p>But, i can't use <code>google.maps</code> object in my script <code>&lt;script src="myscript.js"&gt;&lt;/script&gt;</code>. How can I use it ?</p>