Level transitions on a Tiled map

Hello,

I’m new to game development. Trying to learn basics to create a game like collisions, sprite anmations etc. What i couldn’t find on the net is how can i manage level transitions on a tiled map. What i want to achieve is, character is needed to stay on a specific area on the map until all spawned enemies are killed. Any information is appreciated.