Socket
Socket
Sign inDemoInstall

leaflet-measure-path

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.0 to 1.4.1

6

leaflet-measure-path.js

@@ -160,3 +160,3 @@ !(function() {

var addInitHook = function() {
const showOnHover = this.options.measurementOptions && this.options.measurementOptions.showOnHover;
var showOnHover = this.options.measurementOptions && this.options.measurementOptions.showOnHover;
if (this.options.showMeasurements && !showOnHover) {

@@ -231,3 +231,3 @@ this.showMeasurements();

onAdd: override(L.Polyline.prototype.onAdd, function() {
const showOnHover = this.options.measurementOptions && this.options.measurementOptions.showOnHover;
var showOnHover = this.options.measurementOptions && this.options.measurementOptions.showOnHover;
if (this.options.showMeasurements && !showOnHover) {

@@ -361,3 +361,3 @@ this.showMeasurements(this.options.measurementOptions);

onAdd: override(L.Circle.prototype.onAdd, function() {
const showOnHover = this.options.measurementOptions && this.options.measurementOptions.showOnHover;
var showOnHover = this.options.measurementOptions && this.options.measurementOptions.showOnHover;
if (this.options.showMeasurements && !showOnHover) {

@@ -364,0 +364,0 @@ this.showMeasurements(this.options.measurementOptions);

{
"name": "leaflet-measure-path",
"version": "1.4.0",
"version": "1.4.1",
"description": "Show measurements on Leaflet paths",

@@ -27,2 +27,2 @@ "main": "leaflet-measure-path.js",

}
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc