View Single Post
05-07-21, 08:44 PM   #2
DahkCeles
A Cliff Giant
 
DahkCeles's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2020
Posts: 73
Lua Code:
  1. hooksecurefunc(WorldMapFrame, "RefreshAllDataProviders", function()
  2.     WorldMapFrame:RemoveAllPinsByTemplate("AreaPOIPinTemplate")
  3. end)
  4.  
  5. hooksecurefunc(WorldMapFrame, "OnMapChanged", function()
  6.     WorldMapFrame:RemoveAllPinsByTemplate("AreaPOIPinTemplate")
  7. end)

I am putting together a short addon with options to choose what to hide.
  Reply With Quote