Created
April 3, 2011 16:32
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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