gis-leaflet-helper 3.3.14 → 3.3.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17291,7 +17291,7 @@ const VertexMarker = L.FeatureGroup.extend({
17291
17291
  for (let i = firstVertex ? 0 : 1, l = coords.length - (lastVertex ? 0 : 1); i < l; i++) {
17292
17292
  const coord = coords[i];
17293
17293
  var text = typeof textFn === "function" ? textFn.call(this, i, coords) : textFn || "";
17294
- var icon = L.divIcon({ className: cssClass, html: text, iconSize, iconAnchor });
17294
+ var icon = L.divIcon({ className: `${cssClass} vertex-marker-${i === l - 1 ? "last" : i}`, html: text, iconSize, iconAnchor });
17295
17295
  var marker = L.marker(coord, { icon, pmIgnore: true, index: i });
17296
17296
  this.markers.push(marker);
17297
17297
  }