ui.Map.setZoom

Sets the zoom level of the map.

Returns this ui.Map.

UsageReturns
Map.setZoom(zoom)ui.Map
ArgumentTypeDetails
this: ui.mapui.MapThe ui.Map instance.
zoomNumberThe zoom level, from 0 to 24, to set for the map.