I have create a small hook, to hide the stuck Draenor treasures from the world map:
Lua Code:
hooksecurefunc("WorldMapFrame_Update", function(self)
for i = 1, GetNumMapLandmarks() do
local poi = _G["WorldMapFramePOI"..i]
local poiTexture = _G["WorldMapFramePOI"..i.."Texture"]
if poi and poiTexture then
local ULx, ULy, LLx, LLy, URx, URy, LRx, LRy = poiTexture:GetTexCoord()
if ULx == 0.07421875 and ULy == 0.494140625 and LLx == 0.07421875 and LLy == 0.52734375 and URx == 0.140625 and URy == 0.494140625 and LRx == 0.140625 and LRy == 0.52734375 then
poi:Hide()
end
end
end
end)
Is it possible to add this function to the World Map Frame's Tracking dropdown as "Show Trasures" as a toggle?