Deleting part of map?

Sorry if this is a really stupid question, but how do you delete part of a map (like if you're drawing it and make a mistake, but it's too late to just hit the undo button)?

So far, I've been looking for an empty part of the tile set, selecting that, and putting it over the bits I want to erase. Is this the correct way to do it or is there some other better way?
Funnily enough, there is no erase functionality so yes, selecting an empty tile is the way to go. More specifically, the top left tile of tileset B is treated as an empty tile. Be careful as using other "empty" tiles other than the top left of tileset B may cause unexpected behavior.

It would have been so much better if there simply was an "eraser", but alas. It's what it is.
You can also change the map dimensions temporarily. Select the new blank tiles and use the to erase stuff then set the map back to its original dimensions.

Original thread: https://forums.rpgmakerweb.com/threads/deleting-part-of-map.160952/