Optional
backgroundcolorOptional background color.
Optional
classOptional class of the map.
The compression level to use for tile layer data. Defaults to -1, which means to use the algorithm default.
Optional
editorsettingsIrrelevant editor-specific settings.
Number of tile rows.
Optional
hexsidelengthLength of the side of a hex tile in pixels. Only set for hexagonal maps.
Whether the map has infinite dimensions.
Array of layers.
Auto-increments for each layer.
Auto-increments for each placed object.
The map orientation.
Optional
parallaxoriginxX coordinate of the parallax origin in pixels. 0 if not set.
Optional
parallaxoriginyY coordinate of the parallax origin in pixels. 0 if not set.
Optional
propertiesArray of properties. Empty if not set.
The map render order.
Optional
staggeraxisThe stagger axis. Only set for staggered / hexagonal maps.
Optional
staggerindexThe stagger index. Only set for staggered / hexagonal maps.
The Tiled version used to save the file.
Map grid height.
Optional
tilesetsArray of tilesets. Empty if not set.
Map grid width.
Always "map".
The JSON format version.
Number of tile columns.
Generated using TypeDoc
Tiled map. This is the root type in a Tiled JSON file.