Lots of ways to do this, but it is going to depend on how you've structured your game - that is, pick one
For this game, each section had its own scene with an area that fired a signal when the player entered/exited the boundary, which enables the camera in that room. But that's essentially putting lots of scenes together to form a map (there's no need to have all the scenes loaded, but that's a different thing). It looked like this in the editor with all the scenes enabled:
Another could be just to move the camera X/Y +/- its height/width when the player leaves the visible area (e.g. +/- a width/height, hitting a boundary trigger, visibility notifier...), or just to never move it at all and move the world instead. I also wonder if you could adjust the drag_*
properties of the camera and its configuration so it moves the screen dimensions when necessary? No code at all, just camera configuration.