Some additional info, since patch 4.0.1, most zone maps now have corner coordinates supplied through
GetCurrentMapZone().
Example:
Code:
id, left, top, right, bottom = GetCurrentMapZone();
Note that world, continent, and instance maps don't supply usable data for these extra returns and may return
nil or
zero. Each continent also has their own origin point.