title: Google Map API v3, Move map style in a separate file
body: <p>I'm using the API provided by Google map [v3] for a project. The map is heavily styled and I cannot figure out how to put the style section of my script in an external JavaScript file and call it within my function.   </p>
  
  <pre><code>map = new google.maps.Map(document.getElementById('map-canvas'), {
  center: {lat:40, lng: -97.7313421},
  zoom: 3,
  clickable: true,
  styles: [
          {
            "elementType": "geometry",
            "stylers": [
              {
                "color": "#212121"
              }
            ]
          }, ....
  </code></pre>
  
  <p>Just to be clear, I only want the style section of the array to be somewhere else. </p>