Allow setting of max zoom when centering on layers.