ui.Map.setZoom

Stay organized with collections Save and categorize content based on your preferences.

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.