title: Lazy Loading of Google Maps library
body: <p>I'm aware of Google maps libraries as described <a href="https://developers.google.com/maps/documentation/javascript/libraries" rel="nofollow">here</a> and I'm currently loading them like this:</p>
  
  <pre><code>&lt;script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=places,weather&amp;sensor=false"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Problem is my map page lets users do a lot of different things and I'm now using 4 libraries.
  What I would like is only include the "basic" Google Maps javascript when the page loads and lazy-load each library only when required (e.g. when the user wants to view the weather).</p>
  
  <p>Is this possible at all, without reloading the whole Google Maps API each time I need a library?</p>