Hi Louis,
Thanks for your question. First I would like to understand your application. Do you plan to use the MAG3110 as an electronic compass?
If yes, the magnetic field generated by the motors can be an issue for the magnetometer measurement. However, all magnetometers are affected by this phenomena if the application needs the Earth magnetic field as a reference. Indeed, you can configure the MAG3110 and play on the data rate and the oversampling ratio to reduce the disruption effect coming from the motors.
If this is not enough, I suggest you to use an additional sensor, such as a gyroscope (FXA21002). With a Kalman filter/ or a complementary filter, you can fuse the data coming from both sensors (magnetometer and gyro) to have a more accurate solution.
You can have a look at the NXP Sensor Fusion|NXP , and try some demokit to check if it fits to your needs.
Have a great day,
Anthony