setZoom

Sets the zoom level, clamping to valid range.

Parameters

z

The desired zoom level (will be clamped to current min/max zoom preferences)