ui.Map.getZoom

Returns the current zoom level of the map.

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

The ui.Map instance.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!