Automatic layer disabling

Adjusts the zoom threshold at which the display of detailed layers is disabled.