You can save a tile map configuration using the tilemap's 'TilesJSON' expression. You can store it as a string - if I need multiple tilemaps for multiple levels I'll usually use a Dictionary with keys named for each level, and the value set to the TilesJSON for that level.
I found the download as json action but now how do I save multiple levels?
I'm thinking have all maps in my MAIN MENU layout, save all tilemaps as json then delete all. So the next time a user starts the game the tilemaps will be deleted and accessed from webstorage.
Is this the correct usage? Could someone modify the capx?