new Location(address, lat, lng)
Represents a geographic location of User.
Used in user presence and can be received from WTAPI.Presence.
Parameters:
Name | Type | Description |
---|---|---|
address |
string | |
lat |
string | |
lng |
string |
Methods
getAddress() → {*}
Returns the human-readable address of this location.
Returns:
- Type
- *
getLat() → {*}
Returns the latitude in degrees.
Returns:
- Type
- *
getLng() → {*}
Returns the longitude in degrees.
Returns:
- Type
- *