HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

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


Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE