# MiscController

***

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

## Extended by

* [`FeltController`](/js-sdk-api-reference/main/feltcontroller.md)

## Methods

### getMapDetails()

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

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`](/js-sdk-api-reference/misc/mapdetails.md)>

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,
});
```


---

# 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://developers.felt.com/js-sdk-api-reference/misc/misccontroller.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.
