ui.Map.getZoom

Returns the current zoom level of the map.

UsageReturns
Map.getZoom()Number
ArgumentTypeDetails
this: ui.mapui.Map

The ui.Map instance.