title: Leaflet - get latitude and longitude of a marker inside a pop-up
body: <p>I use the Leaflet Draw plugin.<br>
  My goal is to create markers and show a pop up in which I can get latitude and longitude coordinates.<br>
  I manage to get these coordinates with a javascript alert but I definitely don't know how to put the coordinates into my pop up.</p>
  
  <p>Here is the snippet :</p>
  
  <pre><code>map.on('draw:created', function (e) {
          var type = e.layerType,
          layer = e.layer;
  
          if (type === 'marker') {
              map.on('click', function(e) {
                  var lat = e.latlng.lat;
                  var lng = e.latlng.lng;
                  alert ("Latitude : " + lat + "\nLongitude : " + lng);
          }),
  
              layer.bindPopup(
              'e.latlng.lat');
          }
  
          drawnItems.addLayer(layer);
      });
  </code></pre>
  
  <p>But it does not work. The pop up shows "e.latlng.lat" whereas I'd want to have <strong>the exact value</strong>.<br>
  Have you any solutions ? Thanks.</p>