I know I can create a map within a project without having to create a MapPane.
It works just by doing this:
var map = MapFactory.Instance.CreateMap("New Map 1", MapType.Map, MapViewingMode.Map, Basemap.None);
But if I want to define the center of the map, then I have to use a camera. And in order to use that camera, I must first create a MapPane:
await ProApp.Panes.CreateMapPaneAsync(map);
Then I can get the camera from that MapView:
Camera cam = MapView.Active.Camera;
But since I want to create many maps, displaying those MapPanes is time consuming and slows down the whole process.
So, is it possible to do this in the background (without opening a MapPane)?