title: Google maps api v3 LatLng conversion error
body: <p>I'm doing a ajax call to request a position and move a marker relative to what the position is. The problem is that the LatLng command simply returns (NaN,NaN) even though the variable "data" actually contains a position. what am i doing wrong here?</p>
  
  <pre><code>  function marker()
    {
          $.get("ajax.php", { do: "getpos" }, function(data){
              var latlng = new google.maps.LatLng(data);
                  alert(latlng);
              beachMarker.setPosition(latlng);
          });
          //setTimeout( "marker()", 10000);
    }
  </code></pre>