Skip to content

Delete Area ​

deleteArea(areaId: string)

Deletes an area from the map including all its rooms. The map is then automatically saved.

ParamTypeDescription
areaIdstringID number of the area to delete

Example ​

js
map.deleteArea(1);