ui.Map.setZoom

Sets the zoom level of the map.

Returns this ui.Map.

UsageReturns
Map.setZoom(zoom)ui.Map
ArgumentTypeDetails
this: ui.mapui.Map

The ui.Map instance.

zoomNumber

The zoom level, from 1 to 24, to set for the map.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!