Get zoom size on Google Map API
google-maps, google-maps-api-3, javascript
Solution
Easy. As per docs:
google.maps.event.addListener(map, 'zoom_changed', function() {
var z = map.getZoom();
console.log(z);
});
Here's a great utility that shows all the events as they fire.
Problem
How can I get the zoom size in google map after changing by mouse wheel or zoom bar ? I use Google Map API 3 with JavaScript. I want to show in `console.log()` with every change.