How to expand the map?

So uhh I currently build a map where it has several tilesets that I placed everywhere I wanted, so I want to build a area that is huge enough to explore, I want to expand the map tiles and I wanted to ask how to do that.
Some of your terminology is a little confusing, you don't "place tilesets." A tileset is a collection of tilesheets that you've defined in the Tilesets tab of the database. You use the map editor to place specific tiles from the selected tileset onto your maps.

I'm also not sure what you mean by "expand the map tiles" and if that's different from your subject of "expand the map."

If you want to make the map larger, you just right-click its name in the map list, go to Properties, and change the dimensions of the map.

If you're talking about doing something to the tileset being used by the map, that's really unclear and you should clarify more specifically what you want. But maps can only use one tileset.
I think the OP is asking how to dynamically increase the size of the map during runtime. You can't, but there are ways to fake it like transferring the player to a map that looks the same as the initial one but is bigger or using a map stitching plugin. Or have the initial map be large from the beginning but be mostly black impassable tiles that you change to passable tiles later with a tilechanger plugin.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-expand-the-map.170608/