This is what I used to use before I quit WoW, it might still work
Code:
UIPanelWindows["WorldMapFrame"] = nil
hooksecurefunc(WorldMapFrame, "Show", function(self)
self:SetScale(0.75)
self:EnableKeyboard(false)
BlackoutWorld:Hide()
WorldMapFrame:EnableMouse(false)
end)