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:

  • date string - optionals field

Returns:

  • Location

withLatitude
function withLatitude(latitude: number) -> 'Location'

Set the latitude attribute

Arguments:

  • latitude number - optionals field

Returns:

  • Location

withLongitude
function withLongitude(longitude: number) -> 'Location'

Set the longitude attribute

Arguments:

  • longitude number - optionals field

Returns:

  • Location