Returns which map image is currently selected on the world map (for zones which use more than one map image). Used in zones with more than one "floor" or area, such as Dalaran and several Wrath of the Lich King dungeons and raids. More than one map image may contain the player's current location; if the world map has not been explicitly set to show a particular area, this returns whichever is the "best" match.
The coordinates provided are used to place the different dungeon maps relative to each other.
See also Map functions.
dungeonLevel- Index of the current map image (
x1- The x coordinate of the left side of the map (
y1- The y coordinate of the top side of the map (
x2- The x coordinate of the right side of the map (
y2- The y coordinate of the bottom side of the map (