title: I need to open popover on react-google-map
body: <p>I am trying to open a pop over when a google map shape is clicked but i am unable to do that<br />
  I have tried this method which i am usually using to open a pop up when a button is clicked<br />
  But it is not working<br />
  Below is my code</p>
  <pre><code>{polygon !== null &amp;&amp;
      polygon.map((poly, index) =&gt; (
      &lt;Popover
         placement=&quot;top&quot;
         content={() =&gt;
         content(poly)}
         trigger=&quot;click&quot;
         className=&quot;crime-marker&quot;
         &gt;
         {&quot; &quot;}
         &lt;Polygon
            ref={(ref) =&gt;
         {
         _polyRef(ref);
         }}
         paths={poly.coord}
         onClick={(value) =&gt; console.log(poly)}
         onMouseDown={() =&gt; {
         _onMousedown(index);
         }}
         /&gt;
      &lt;/Popover&gt;
      ))}
  </code></pre>
  <p>Can some one please help me with this
  Thanks!</p>