Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/francoisromain/bug-leaflet-gesture-handling
https://github.com/francoisromain/bug-leaflet-gesture-handling
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/francoisromain/bug-leaflet-gesture-handling
- Owner: francoisromain
- Created: 2019-08-13T09:16:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T08:40:45.000Z (almost 2 years ago)
- Last Synced: 2023-04-04T00:18:21.685Z (over 1 year ago)
- Language: HTML
- Size: 414 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 12
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Bug with Leaflet.GestureHandling
## We want to disable `Leaflet.GestureHandling` when the map is in full screen.
This works fine when we don't use javascript modules, like in this [branch](https://github.com/francoisromain/bug-leaflet-gesture-handling/tree/no-modules).
When we use javascript modules, it does not work anymore.
---
To reproduce the bug:
- clone the master branch of this repo
- install dependencies: `npm i`
- build the js bundle: `npm run build`
- serve and open the page. For example with [http-server](https://www.npmjs.com/package/http-server): `http-server .` and open `http://127.0.0.1:8080`)
- in the browser, click the fullscreen button and try to zoom-in or zoom-out.The bug: in fullscreen `Leaflet.GestureHandling` is still enabled.
What is expected: in fullscreen `Leaflet.GestureHandling` should be disabled.
---
To see the bug, check this page: [francoisromain.github.io/bug-leaflet-gesture-handling
](https://francoisromain.github.io/bug-leaflet-gesture-handling).---
[Issue on Github](https://github.com/elmarquis/Leaflet.GestureHandling/issues/31)