title: How to get the lat & lng as separate variables from mapCenter
body: <p>I have the map center, and comes as a Floating Point number.</p>
  
  <p>How can I get it as 2 separated variables like this:</p>
  
  <pre><code>var lat = ...
  
  var lng = ...
  </code></pre>
  
  <p>I have the float:</p>
  
  <pre><code>var NewMapCenter = map.getCenter();
  </code></pre>
  
  <p>I tried to pass the float <code>toWords(x)</code> but didn't work</p>
  
  <p>I tried to subtract the <code>(,)</code> and <code>split</code> it, but didn't work</p>
  
  <pre><code>var latlngStr = (StrNewMapCenter.substr(1, (StrNewMapCenter.length-1))).split(",",2);
  var NewMapCenter = parseFloat(latlngStr[0]);
  </code></pre>
  
  <p>I tried, this but comes as an event, but I need it without needing to click.</p>
  
  <pre><code>google.maps.event.addListener(map, 'click', function(event) {
      var myLatLng = event.latlng;
      var Newlat = position.coords.latitude;
      var Newlng = position.coords.longitude;
  }
  </code></pre>
  
  <p>Thanks
  Sebastian</p>