The showallmap member of the userdef struct is set to 1 when the mode for full map view is on, otherwise it is 0.