title: Leaflet - draw polyline vertices only
body: <p>The title is quite clear, I'm using Leaflet and I need to show only the vertices of a polyline. For exemple see this image :</p>
  
  <p><a href="https://i.stack.imgur.com/GQagd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GQagd.png" alt="enter image description here"></a></p>
  
  <p>Currently I can only have the black line, I'd like only the red squares. Using markers is not an option for performance issue, my lines can be huge (500 000 vertices) and the use of smoothFactor is a need.</p>
  
  <p>Is that possible? If not, does someone knows a plugin that does that, or have a hint on how could I do that by extending the Polyline class?</p>