/// <summary> /// saves the map state to an xml file /// </summary> public void SaveMapState() { RemoveInMemoryLayers(); if (global.MappingMode == fad3MappingMode.defaultMode && _axmap.SaveMapState(_fileMapState, false, true)) { SaveOtherMapOptions(); CheckFileNameInMapStateFile(); } }