Location
Location
Location Objects
class Location()This is a base object that allows the user to create a Datapoint.
constructor
function constructor()composeElement
function composeElement() -> '*'Returns:
*
withDateLocation
function withDateLocation(date: string) -> 'Location'Set the date attribute
Arguments:
datestring - optionals field
Returns:
Location
withLatitude
function withLatitude(latitude: number) -> 'Location'Set the latitude attribute
Arguments:
latitudenumber - optionals field
Returns:
Location
withLongitude
function withLongitude(longitude: number) -> 'Location'Set the longitude attribute
Arguments:
longitudenumber - optionals field
Returns:
Location