Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 434 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 434 Bytes

Leaflet.SmoothWheelZoom

smooth wheel zoom for leaflet.

This plugin provide smooth zoom ux like Google map.

Usage

var map = L.map('map', {
  scrollWheelZoom: false, // disable original zoom function
  smoothWheelZoom: true,  // enable smooth zoom 
  smoothSensitivity: 1,   // zoom speed. default is 1
});

demo

Demo

Demo