@arunawalpola/leaflet.polylinemeasure 1.0.1 → 1.0.3

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.
@@ -866,7 +866,8 @@
866
866
  // update style on previous marker
867
867
  var lastCircleMarker = this.circleMarkers.last();
868
868
  if (lastCircleMarker) {
869
- lastCircleMarker.bindTooltip (polylineState.options.tooltipTextDelete, {direction:'top', opacity:0.7, className:'polyline-measure-popupTooltip'});
869
+ // Commented to remove tooltip for first marker
870
+ // lastCircleMarker.bindTooltip (polylineState.options.tooltipTextDelete, {direction:'top', opacity:0.7, className:'polyline-measure-popupTooltip'});
870
871
  lastCircleMarker.off ('click', polylineState._finishPolylinePath, polylineState);
871
872
  if (this.circleMarkers.length === 1) {
872
873
  lastCircleMarker.setStyle (polylineState.options.startCircle);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arunawalpola/leaflet.polylinemeasure",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Leaflet Plugin to measure distances of simple lines as well as of complex polylines",
5
5
  "main": "Leaflet.PolylineMeasure.js",
6
6
  "scripts": {