At all times the direction of the magnetic field is shown by the direction of the magnetic flux lines . Mapping out the strength and direction of the magnetic field is simple in principle . First , the strength and direction of the magnetic field is measured at a large number of locations .