UNPKG

leaflet-gesture-handling

Version:

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.

6 lines (3 loc) 114 B
import * as L from "leaflet"; export class GestureHandling extends L.Handler {} export default GestureHandling;