Skip to content

Function: navigateToFloorByName()

ts
function navigateToFloorByName(floorName): Promise<void>;

Navigate to a floor by its display name (e.g. "Ground", "L2").

Parameters

ParameterTypeDescription
floorNamestringThe floor's display name. Required; must be a string.

Returns

Promise<void>

a promise that resolves once the navigation request is sent.

Throws

MAPSTED-1012 when floorName is null / undefined.

Throws

MAPSTED-1013 when floorName is not a string.

Throws

MAPSTED-1090 when the API is not READY.