Skip to content

Smooth wheel zoom plugin for leaflet. This plugin provide smooth zoom ux like Google map.

License

Notifications You must be signed in to change notification settings

Agriculture-Intelligence/leaflet-smooth-zoom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Smooth wheel zoom plugin for leaflet. This plugin provide smooth zoom ux like Google map.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 66.5%
  • HTML 33.5%