# MiscController

***

The Misc controller provides access to miscellaneous map functionality that doesn't fit into other controller categories.

## Extended by

* [`FeltController`](https://developers.felt.com/js-sdk-api-reference/main/feltcontroller)

## Methods

### getMapDetails()

> **getMapDetails**(): `Promise`<[`MapDetails`](https://developers.felt.com/js-sdk-api-reference/misc/mapdetails)>

Gets the details of the map.

Use this method to retrieve metadata about the current map, such as its title, description, and other map-level information.

#### Returns

`Promise`<[`MapDetails`](https://developers.felt.com/js-sdk-api-reference/misc/mapdetails)>

A promise that resolves to the map details.

#### Example

```typescript
const details = await felt.getMapDetails();
console.log({
  id: details.id,
  title: details.title,
  description: details.description,
});
```
