Phaser API Documentation

  Version: 
removeAllLayers()

Description:

Removes all Tilemap Layers from this Tilemap and calls destroy on each of them.

Returns:
Description:

This Tilemap object.

Since: 3.0.0
Source: src/tilemaps/Tilemap.js (Line 1803)