How to detect the map zoom level ?

When we are tracking a user using GPS coordinates and displaying it on the app, similar to how uber does for the cabs, we are unable to determine the zoom level for the map. Due to which the map autoresizes for every refresh when ever the map is zoomed in.

How to detect the map zoom level ?
 
 
Q