Easy Tutorial
❮ Google Maps Basic Googleapi Tutorial ❯

Map API getZoom() Method

Map() Constructor

Example

Return the current zoom level of the map:


Definition and Usage

The getZoom() method returns the current zoom level of the map.


Syntax


Return Value

Value Description
number The current zoom level of the map.

Map() Constructor

❮ Google Maps Basic Googleapi Tutorial ❯