Anyone know why this will work:
var wickedLocation = new google.maps.LatLng(44.767778, -93.2775);
But this won't:
var wickedCoords = 44.767778, -93.2775;
var wickedLocation = new google.maps.LatLng(wickedCoords);
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!