Skip to content

Instantly share code, notes, and snippets.

@seamusjr
Created April 3, 2011 16:32
Show Gist options
  • Save seamusjr/900541 to your computer and use it in GitHub Desktop.
Save seamusjr/900541 to your computer and use it in GitHub Desktop.
get latLng has string of coords from google.maps latLng insert into node
function getCoords() {
var latlng_str = marker.getPosition().toString();
document.getElementById("coords").textContent = latlng_str;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment