WoWInterface - View Single Post - BFA - Alpha tester
View Single Post
04-27-18, 06:44 AM   #23
nUI Maintainer
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,494
Originally Posted by ircdirk View Post
UnitPosition works in BfA so if we know lengths of maps we could rewrite GetPlayerMapPosition...

Also there is https://github.com/tomrus88/Blizzard...dMapAreaID.lua which maps old mapids to new uimapids.
I don't know whether this function may help you but this is listed in the interface code

minX, maxX, minY, maxY = C_Map.GetMapRectOnMap(uiMapID,topUIMapID)

I would hazard a guess that this gives you the rect on the area within a higher map that relates to the mapID in question.
  Reply With Quote