Set number of zoom levels on a per layer basis. Closes #603.