It should be in the base UI, but at least there’s a coordinates macro that has been updated for BfA from this old thread:
/run local s,id,c,x,y=function()print("No")end,C_Map.GetBestMapForUnit("player")if not id then s()return end c=C_Map.GetPlayerMapPosition(id,"player")if not c then s()return end x,y=c:GetXY()print(string.format("%s: %.1f, %.1f",GetZoneText(),x*100,y*100))