# Editor.MapDoc.MapDocument

Represents an open map document. A document has a tree of [Editor.MapDoc.MapNode](/api/Editor.MapDoc.MapNode) that represent the world.

- Kind: class
- Namespace: `Editor.MapDoc`
- Assembly: `Sandbox.Tools`

## Properties

- [`PathName`](/api/Editor.MapDoc.MapDocument/PathName): The map file name
- [`World`](/api/Editor.MapDoc.MapDocument/World): The world

## Methods

- [`DeleteNode`](/api/Editor.MapDoc.MapDocument/DeleteNode): Removes the node from the world, deletes all children too.
