Skip to main content

WallService

wemap-sdk-js


Class: WallService

Fetches the indoor walls of a venue from the Wemap API.

Do not instantiate this directly — retrieve a configured instance with core.createWallService().

Constructors​

Constructor​

new WallService(baseUrl, emmid): WallService

Parameters​

baseUrl​

string

Base URL of the Wemap API (e.g. https://api.getwemap.com/v3.0).

emmid​

string | number

The livemap id whose walls to fetch.

Returns​

WallService

Methods​

searchWalls()​

searchWalls(venue): Promise<IndoorWall[]>

Every wall of a venue, across all of its buildings and levels.

Parameters​

venue​

number

Returns​

Promise<IndoorWall[]>