Event to manage floors on the map.
setFloor
Set current floor. All other floor are hide
Parameters
| Name | type | description |
|---|---|---|
| floorId | number | floor id to show |
Result
No result
Example
FnoMapManager.sendEvent('setFloor', {floorId: 2});getFloors
Get all available floors
Parameters
No parameter
Result
| Name | type | description |
|---|---|---|
| floors | Floor[] | Array of all floors |
Example
FnoMapManager.sendEvent('getFloors', null, (data) => { console.log("floors", data.floors);});resetFloors
Show all floors
Parameters
No parameter
Result
No result
Example
FnoMapManager.sendEvent('resetFloors');