Get the zoom level
See original GitHub issuehi,
is it possible to get the current zoom level upon the onZoomChanged event?
i attached the event handler in this way :
onZoomChanged={this.onZoomChanged}
but any parameter i add on that function results to be undefined.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to find current zoom level in a Google Map?
If you have a map object like this: ... Use this code: float zoomlevel = mMap.getCameraPosition().zoom; ... If you need to get zoom...
Read more >Map.getZoom - Earth Engine - Google Developers
Examples. Returns the current zoom level of the map. ... Here, the defaultMap is centered on a point with a selected zoom level....
Read more >How can i get current zoom level - Google Groups
Hi everybody. I'm new in Google Maps. currently I need a change on this article for add a zoom level to MySQL. How...
Read more >How to detect page zoom level in all modern browsers using ...
Method 1: Using outerWidth and innerWidth Property: It is easier to detect the zoom level in webkit browsers like Chrome and Microsoft Edge....
Read more >Zoom levels and scale | Documentation - ArcGIS Developers
A zoom level or scale is a number that defines how large or small the contents of a map appear in a map...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

hello @riccardolorenzon
the
zoom_changedevent is not passing any arguments:what you can do is to use the reference to the actual map instance:
hope this helps!
Yeah, it works!
Grazie!!