Home Manual Reference Source Test Repository
public class | source

Location

This is a base object that allows the user to create a Datapoint.

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public
public

Set the date attribute

public

Set the latitude attribute

public

Set the longitude attribute

Public Constructors

public constructor() source

Public Methods

public composeElement(): * source

Return:

*

public withDateLocation(date: string): Location source

Set the date attribute

Params:

NameTypeAttributeDescription
date string

optionals field

Return:

Location

public withLatitude(latitude: number): Location source

Set the latitude attribute

Params:

NameTypeAttributeDescription
latitude number

optionals field

Return:

Location

public withLongitude(longitude: number): Location source

Set the longitude attribute

Params:

NameTypeAttributeDescription
longitude number

optionals field

Return:

Location