MiscController


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

Extended by

Methods

getMapDetails()

getMapDetails(): Promise<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>

A promise that resolves to the map details.

Example

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

Last updated

Was this helpful?