Socket
Socket
Sign inDemoInstall

leaflet-doubletapdragzoom

Package Overview
Dependencies
2
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 0.3.1

8

CHANGELOG.md
# Leaflet.DoubleTapDragZoom Changelog
## 0.3.1 (2024-01-06)
- Fix freezing map for non correct gesture (#13)
## 0.3.0 (2021-11-07)

@@ -7,2 +11,6 @@

## 0.3.0 (2021-11-07)
- Fix touch event being propagated when zooming
## 0.2.0 (2018-10-29)

@@ -9,0 +17,0 @@

3

Leaflet.DoubleTapDragZoom.js

@@ -83,2 +83,4 @@ L.Map.mergeOptions({

_onDoubleTapDragEnd: function (e) {
this._doubleTapDragging = false;
if (!this._center) { return; }

@@ -95,3 +97,2 @@ L.Util.cancelAnimFrame(this._animRequest);

this._center = null;
this._doubleTapDragging = false;
},

@@ -98,0 +99,0 @@

{
"name": "leaflet-doubletapdragzoom",
"version": "0.3.0",
"version": "0.3.1",
"description": "Leaflet plugin that implements double-tap-and-drag zoom feature for zooming in / out with one hand",

@@ -5,0 +5,0 @@ "main": "Leaflet.DoubleTapDragZoom.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