Skip to content

Interaction handler for touch devices enabling zooming out with a two finger tap.

Notifications You must be signed in to change notification settings

aratcliffe/Leaflet.twofingerzoom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Leaflet.twofingerzoom

An interaction handler that allows the map to be zoomed out on touch screen devices by tapping the screen with two fingers simultaneously.

##Usage

Two finger zoom is enabled automatically on touch screen devices simply through including the plugin or can be controlled explicitly with the twoFingerZoom map option.

var map = L.map('map', {
    twoFingerZoom: true
 });

##License This software is released under the MIT licence.

About

Interaction handler for touch devices enabling zooming out with a two finger tap.

Resources

Stars

Watchers

Forks

Packages

No packages published