Originally Posted by QuadroTony
yes, indeed
|
Puhh, good to know
There are some maps where GetMapPlayerPosition returns "wrong" data.
Some special main story maps (reachable via NPC portals only), but also the mage guild in Orsinium. There the player pin jumps to the middle of the hall and freezes.
And the other maps mentioned.
So, there is something with the internal map transition data.
SetMapToPlayerLocation changes the map to there player coords are outside 0,0>x,y<1,1.
I guess Mini Map skips all action, while ZO_WorldMap just skips to move the texture (ZO_WorldMap.lua line 4261).
In this case, we may can hook SetMapToPlayerLocation to fix map changes with "wrong" player positions via SetMapFloor or MapZoomOut.
Here an example (also tested without any addon):