title: How to get the current zoom of the map [getZoom()] in react-google-maps?
body: <p>I want to get the current zoom level of my map in react-google-maps like we do in simple google map api with the getZoom() function. How to do this in react-google-maps ?</p>
  
  <p>I have looked few answers but none of them are working for me.</p>
  
  <pre><code>import React from "react"
  import {
    GoogleMap,
    Marker,
    withGoogleMap,
    withScriptjs,
  } from "react-google-maps"
  
  
  const Map = () =&gt; {
    return (
      &lt;GoogleMap
        defaultZoom={15}
        defaultCenter={{ lat: lat, lng: lng }}
      &gt;
        &lt;Marker position={{ lat: lat, lng: lng }} /&gt;
      &lt;/GoogleMap&gt;
    )
  }
  
  const WrappedMap = withScriptjs(withGoogleMap(Map))
  
  const Index = () =&gt; {
    return (
      &lt;Layout&gt;
        &lt;WrappedMap
          googleMapURL={`https://maps.googleapis.com/maps/api/js? 
          key=my_key&amp;v=3.exp&amp;libraries=geometry,drawing,places`}
          loadingElement={&lt;Loading /&gt;}
          containerElement={&lt;div style={{ height: `400px` }} /&gt;}
          mapElement={&lt;div style={{ height: `100%` }} /&gt;}
        /&gt;
      &lt;/Layout&gt;
    )
  }
  
  export default Index
  
  </code></pre>
  
  <p>How can I getZoom for the above shown example.</p>