WoWInterface - View Single Post - C_Map.GetMapPosFromWorldPos
View Single Post
07-24-18, 12:19 PM   #2
A Pyroguard Emberseer
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,059
The "continentID" is what I would normally refer to as the instance ID, and it represents the instance that the coordinate plane belongs to (eg. kalimdor, ragefire chasm, etc).

It's the same value that has been historically returned by GetInstanceInfo and UnitPosition.

Something very important to note is that the X and Y axes from world coordinates are rotated 90 degrees from the world map's north/south/east/west, so if you're translating between the two you need to remember that X represents north to south, and Y represents east to west.

Last edited by semlar : 07-24-18 at 12:25 PM.
  Reply With Quote