Skip to content
Interaction handler for touch devices enabling zooming out with a two finger tap.
JavaScript
Find file
Latest commit defe4ac Jul 31, 2014 @aratcliffe Initial commit
Failed to load latest commit information.
dist Initial commit Jul 31, 2014
examples Initial commit Jul 31, 2014
src Initial commit Jul 31, 2014
README.md Initial commit Jul 31, 2014

README.md

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.

Something went wrong with that request. Please try again.