Maps API getZoom() Method
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 |
The getZoom() method returns the current zoom level of the map.
mapvariable.getZoom();
Value | Description |
---|---|
number | The current zoom level of the map |
Your message has been sent to W3Schools.