Class: Location

WTAPI.Location(address, lat, lng)

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
Source:

Methods

getAddress() → {*}

Returns the human-readable address of this location.
Source:
Returns:
Type
*

getLat() → {*}

Returns the latitude in degrees.
Source:
Returns:
Type
*

getLng() → {*}

Returns the longitude in degrees.
Source:
Returns:
Type
*