Added new functionality in TiledMap class.