Created
December 19, 2012 13:27
-
-
Save chrislawlor/4336645 to your computer and use it in GitHub Desktop.
Convert Google Maps LatLng to WKT (http://en.wikipedia.org/wiki/Well-known_text)
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
google.maps.LatLng.prototype.toPointWKT = function() { | |
return "POINT("+ this.Za + " " + this.Ya + ")"; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment