CustomGame.MapNameFromID(Map map);
Syntax
public string MapNameFromID(
    Map map
)

map
Map ID to get name.
Type: CustomGameOW.Map

Gets map name from map ID.

The code below will return the string "a_TempleOfAnubis".

using System;
using CustomGameOW;

...

static void Main(string[] args)
{
    CustomGame cg = new CustomGame();
    Map map = Map.A_TempleOfAnubis; // Map ID of a_TempleOfAnubis
    Console.WriteLine(cg.MapNameFromID(map)); // Returns string "a_TempleOfAnubis"
}

See also:

CustomGame.ToggleMap()

CustomGame.MapIDFromName()

Map tutorial