setMaxZoomPreference

Sets the maximum zoom level preference.

Parameters

maxZoom

The maximum zoom level (will be clamped to 2.0-19.0)