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.

52 lines (51 loc) 1.59 kB
{ "name": "leaflet-gesture-handling", "version": "1.2.2", "description": "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. ", "main": "./dist/leaflet-gesture-handling.min.js", "files": [ "dist" ], "types": "./dist/leaflet-gesture-handling.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "gulp build", "start": "gulp dev", "format": "prettier --write src/*/*", "prepublish": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/elmarquis/leaflet-gesture-handling.git" }, "keywords": [ "Leaflet", "Maps", "Gesture", "Handling", "two", "fingers", "mobile", "scroll" ], "author": "A Marquis", "license": "MIT", "bugs": { "url": "https://github.com/elmarquis/leaflet-gesture-handling/issues" }, "homepage": "https://github.com/elmarquis/leaflet-gesture-handling#readme", "devDependencies": { "babel-core": "^6.26.3", "gulp": "^3.9.1", "gulp-autoprefixer": "^5.0.0", "gulp-better-rollup": "^3.3.0", "gulp-concat": "^2.6.1", "gulp-minify-css": "^1.2.4", "gulp-rename": "^1.2.3", "gulp-sass": "^4.0.1", "gulp-sourcemaps": "^2.6.4", "gulp-uglify": "^3.0.0", "prettier": "^1.14.0", "rollup-plugin-babel": "^3.0.7" } }