title: Google Maps APIv3 very slow and large
body: <p>I'm creating a website for a local business and have added a Google Map to the page using the API v3. I've been working on reducing the page size and load time and have noticed that Google Maps is by the biggest and slowest thing on the page. I'm still running it locally and don't have anywhere to host it currently, so all my related code is below.</p>
  
  <p>Without Maps (Emulation for HDPI screen):</p>
  
  <pre><code>- Server Requests: 14
  - Data Transferred: 1.5mb
  - Load Time: 1.19s
  </code></pre>
  
  <p>With Maps (Emulation for HDPI screen):</p>
  
  <pre><code>- Server Requests: 82
  - Data Transferred: 2.6mb
  - Load Time: 8.08s
  </code></pre>
  
  <p>I am using the Google Maps API v3 to create the map.</p>
  
  <pre><code>&lt;div id="map-canvas"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>With the script:</p>
  
  <pre><code>function initialize() {
              var myLatLng = new google.maps.LatLng(-43.537061, 172.632426);
              var mapOptions = {
                center: myLatLng,
                zoom: 15
              };
              var map = new google.maps.Map(document.getElementById('map-canvas'),
                  mapOptions);
              var marker = new google.maps.Marker({
                position: myLatLng,
                map: map,
                title: 'Auto City Services'
            });
            }
  
          function loadScript() {
              var script = document.createElement('script');
              script.type = 'text/javascript';
              script.src = 'https://maps.googleapis.com/maps/api/js?v=3.exp' +
                '&amp;signed_in=true&amp;callback=initialize';
              document.body.appendChild(script);
              }
  
              window.onload = loadScript;
  </code></pre>
  
  <p>Is there something I am doing wrong or could do better in order to increase the speed of this process? I would very much like to make the load time and size much faster. I think I've got it set up to be asynchronous so that the rest of the page will display and the user won't wait up to 10s for the page to show, but it's still pretty terrible.</p>
  
  <p>Thanks!</p>