# 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

{{% notice tip %}}
**Tipo:** `Location`
<br>

{{% /notice %}}

---
## withLatitude(latitude)


Set the latitude attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **latitude** | `number` | ❌ | optionals field |

### Retorna

{{% notice tip %}}
**Tipo:** `Location`
<br>

{{% /notice %}}

---
## withLongitude(longitude)


Set the longitude attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **longitude** | `number` | ❌ | optionals field |

### Retorna

{{% notice tip %}}
**Tipo:** `Location`
<br>

{{% /notice %}}

---

