title: Label for Leaflet Polylines
body: <p>I want to show label/Text with polylines, Here is my code</p>
  
  <pre><code>function displayDottedLine(latA, longA, latB, longB, label) {
      var pointA = new L.LatLng(latA, longA);
      var pointB = new L.LatLng(latB, longB);
      var pointList = [pointA, pointB];
      var firstpolyline = new L.Polyline(pointList, {
          color: 'white',
          weight: 1.5,
          opacity: 0.5,
          dashArray: "10 10",
          smoothFactor: 1
      });
      firstpolyline.addTo(map);
  }
  </code></pre>
  
  <p>there is label parameter in the function, i need to attach this label with polylines.</p>
  
  <p>Thanks in advance.</p>