# Tilt

### setTilt

Sets the slope/tilt of the map view. The parameter ranges from 0 to 60. If the value is closer to 0, then the map appears to be 2D. If the value is close to 60, the map appears to be 3D.

#### Parameter

| Required Parameter | Description | Type           |
| ------------------ | ----------- | -------------- |
| value              | Slope       | Numeric (0-60) |

### Example

```
mapInstance.setTilt(40);
```

### getTilt

Gets the slope/tilt value of the map.

#### Return

The current tilt of the map.

#### Example

```javascript
mapInstance.getTilt();
return 40
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://fatos-doc.fatos.biz/fatos-api/map/map-control/tilt.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
