title: How to copy a marker's location on folium Map by clicking on it?
body: <br>
  I am able to print the location of a given marker on the map using folium.plugins.MousePosition.
  <pre class="lang-py prettyprint-override"><code>class GeoMap:
          
      def update(self, location_center:np.array, locations: np.array):
          self.map = folium.Map(location_center, zoom_start=10)
          for i in range(locations.shape[0]):
              location = tuple(locations[i, j] for j in range(locations.shape[1]))
              folium.Marker(
                  location=location,
              ).add_to(self.map)
          formatter = &quot;function(num) {return L.Util.formatNum(num, 3) + ' º ';};&quot;
          plugins.MousePosition(
              position=&quot;topright&quot;,
              separator=&quot; | &quot;,
              empty_string=&quot;NaN&quot;,
              lng_first=True,
              num_digits=20,
              prefix=&quot;Coordinates:&quot;,
              lat_formatter=formatter,
              lng_formatter=formatter,
          ).add_to(self.map)
          
      def display(self):
          display(self.map)
  </code></pre>
  <p>But, I would like to enable the user to copy a marker's location on a folium Map by clicking on it. I suppose that there may be a way to get the location of a marker using a on_click event (in Python). But, I did not find any example on the web.</p>
  <p>I am using Python, but if you have a solution that works well using Python and some Javascript it will be fine too.</p>
  <p>Any help would be really appreciated !</p>
  <p>Thanks,</p>