Get a loaded tile map or tileset (a "tmx", "tilemap", "spritefusion"
or "tsx" asset) as parsed data: the map's JSON structure, whether it was
loaded from XML or JSON. A Sprite Fusion map.json is kept as the file has
it (tileSize, mapWidth, mapHeight, layers).
Most code never needs it: level.load(name) builds the level from it.
the asset name
the parsed map or tileset, or null if none is loaded
under that name
The older name of getTileMap, from when a Tiled map was the only kind of tile map: the same function.
Deprecated
since 20.18.0, use getTileMap
Param: elt
the asset name
Returns
the parsed map or tileset, or
nullif none is loaded under that name