JSPM

@zacwang/leaflet-gesture-handling

1.2.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q22091F
  • License MIT

Cloned from elmarquis/Leaflet.GestureHandling. Prompt mobile user to use 2 fingers to move the map. Prompt desktop users to use Ctrl+Mouse Wheel to zoom. Brings Google Maps gesture handling into Leaflet.

Package Exports

  • @zacwang/leaflet-gesture-handling
  • @zacwang/leaflet-gesture-handling/dist/leaflet-gesture-handling.min.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@zacwang/leaflet-gesture-handling) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Leaflet.GestureHandling

Version 1.2.5

Cloned from elmarquis/Leaflet.GestureHandling v1.2.2

The change is only when clicking(tap) on Mobile device, the Gesture Handling is disabled.

In the original version, when I click(tap) on the map, the text message will flash across the map.

when tapping on Mobile

License

MIT