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? 回答1: What you could do