But what happens if the user switches to user maps, and then switches back? In this case, the max zoom will still be 31, even though it should be 21.

P.S. Should the max spinbox user zoom be 32, in order to align with the C++ code?