toString

Returns the location coordinates formatted as '{lat},{lng}'.

ReturnsString A string representation of the location, e.g. "39,-179"

In this article