FREE Web Template Download
HTML CSS JAVASCRIPT SQL PHP BOOTSTRAP JQUERY ANGULARJS TUTORIALS REFERENCES EXAMPLES Blog
 

Maps API getZoom() Method

Map() Constructor Map() Constructor

Example

Return the current zoom level of the map:

map.getZoom();
Try it Yourself »

Definition and Usage

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


Syntax

mapvariable.getZoom();

Return Values

Value Description
number The current zoom level of the map

Map() Constructor Map() Constructor