Get a Game Map Object based off map id

$dataMapInfos has a list of Id's which is what ill be tapping into, but Game_Map only has id() Which returns the id of the current map. Is there a function that would return me a Game_Map object based off the id passed in?
You'd need to create a new Game_Map object, and call the setup function with the map ID you want it to load in. Then you can use the functions and they'll be based on that map. However, keep in mind that many functions in Game_Map reference the $gamePlayer object. You may run into some issues/unexpected behavior if you need to use these functions on two very different maps, because the player is still on the "official" one, not your alternative one you loaded in.

Edit:

Actually looks like they've changed it somewhat from the old versions. You'll also need to change the value of $dataMap, actually. There is the DataManager.loadMapData function, but that's Async so you'll have to wait for it to be done loading before you can use it.
I just need to get the events off that map to then parse them and look for specific things. Can I get away with not changing the $dataMap?
Take a look at these 2 functions:

Code:
DataManager.loadDataFile = function(name, src) {    var xhr = new XMLHttpRequest();    var url = 'data/' + src;    xhr.open('GET', url);    xhr.overrideMimeType('application/json');    xhr.onload = function() {        if (xhr.status < 400) {            window[name] = JSON.parse(xhr.responseText);            DataManager.onLoad(window[name]);        }    };    xhr.onerror = function() {        DataManager._errorUrl = DataManager._errorUrl || url;    };    window[name] = null;    xhr.send();};DataManager.loadMapData = function(mapId) {    if (mapId > 0) {        var filename = 'Map%1.json'.format(mapId.padZero(3));        this.loadDataFile('$dataMap', filename);    } else {        this.makeEmptyMap();    }};
You'll need to async load the json file of that map and register a callback to do what you want.
so then I wont be doing this because thats more work then its needed to just read the events of every map.
This would require you to load all map files at start up (Scene_Boot.prototype.create) and block the game while it's being loaded (Scene_Boot.prototype.isReady). A game can very easily contain several hundred maps, so this may take quite a while. Depending on what you want to do, you might want to add a plugin parameter containing a list of map ids to load, so users can decide what to load.
this is why I said its more trouble then it worth ... 

Original thread: https://forums.rpgmakerweb.com/threads/get-a-game-map-object-based-off-map-id.51037/