Lua Code:
hooksecurefunc(WorldMapFrame, "RefreshAllDataProviders", function()
WorldMapFrame:RemoveAllPinsByTemplate("AreaPOIPinTemplate")
end)
hooksecurefunc(WorldMapFrame, "OnMapChanged", function()
WorldMapFrame:RemoveAllPinsByTemplate("AreaPOIPinTemplate")
end)
I am putting together a short addon with options to choose what to hide.