The galactic magnetic field derived from cosmic-ray electrons