A compass works on Flat Earth using a radial magnetic field with where there are infinite south poles.


https://www.researchgate.net/figure/Radial-magnetic-field-vector_fig1_309252454
A compass works on the globe theory using a dipole magnetic field with two poles.
