title: Passing location coordinates to google maps as variable
body: <p>Anyone know why this will work:</p>
  
  <pre><code>var wickedLocation =  new google.maps.LatLng(44.767778, -93.2775);
  </code></pre>
  
  <p>But this won't:</p>
  
  <pre><code>var wickedCoords = "44.767778, -93.2775";
  var wickedLocation =  new google.maps.LatLng(wickedCoords);
  </code></pre>
  
  <p>I tried passing the latitude and longitude as separate variables and that didn't do the trick either. How can I pass the coordinates successfully as a variable? Thanks! </p>