Leaflet - draw polyline vertices only
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 : 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. 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? What you could do here is every time the polyline gets rendered, get the segments of it's SVG path, use those points to add SVG