This is the function that creates quest pins on the map:
https://github.com/esoui/esoui/blob/...dmap.lua#L3453
Using that, the following code should give you the position of the quest pins for a given questindex:
Lua Code:
local questSteps = WORLD_MAP_QUEST_BREADCRUMBS:GetSteps(questIndex)
if questSteps then
for stepIndex, questConditions in pairs(questSteps) do
for conditionIndex, conditionData in pairs(questConditions) do
local xLoc, yLoc = conditionData.xLoc, conditionData.yLoc
-- now your code processing the coordinates of this pin
end
end
end