Location
This is a base object that allows the user to create a Datapoint.
withDateLocation(date)
Set the date attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| date | string |
❌ | optionals field |
Retorna
Tip
Tipo: Location
withLatitude(latitude)
Set the latitude attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| latitude | number |
❌ | optionals field |
Retorna
Tip
Tipo: Location
withLongitude(longitude)
Set the longitude attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| longitude | number |
❌ | optionals field |
Retorna
Tip
Tipo: Location