Class

MapsIndoorsEditor

MapsIndoorsEditor

The MapsIndoorsEditor class is a singleton that provides methods to interact with the MapsIndoors API. It allows setting and getting the access token, retrieving available solutions, and opening a solution.

Members

# static accessToken

Sets an OAuth access token for the HTTP service.

# static accessToken

Gets the OAuth access token from the HTTP service.

Methods

# async static connect(mapsIndoors) → {Promise.<SolutionManager>}

Opens the solution connected to the MapsIndoors instance.

Parameters:
Name Type Description
mapsIndoors mapsindoors.MapsIndoors

The MapsIndoors instance to connect to.

If the MapsIndoors SDK is not loaded or the mapsIndoors parameter is not an instance of mapsindoors.MapsIndoors.

Error

A promise that resolves to a SolutionManager instance.

Promise.<SolutionManager>

# async static getAvailableSolutions() → {Promise.<Array.<unknown>>}

Retrieves the available solutions.

A promise that resolves to the available solutions.

Promise.<Array.<unknown>>

# async static open(solutionId) → {Promise.<SolutionManager>}

Opens a solution by its ID.

Parameters:
Name Type Description
solutionId string

The ID of the solution to open.

A promise that resolves to a SolutionManager instance.

Promise.<SolutionManager>

Members

Methods