Unified Mapmaking for Anisotropic Stochastic Gravitational Wave Background