mariusandra / pigeon-maps

ReactJS Maps without external dependencies
https://pigeon-maps.js.org/
MIT License
3.44k stars 142 forks source link

Make Warning-Overlays more configurable #114

Open xstable opened 3 years ago

xstable commented 3 years ago

A way to configure the animation-type and delay for the metaWheelZoomWarning and twoFingerDragWarning would be awesome.

At least needed:

  1. transition type to show/hide overlay
  2. delay for animation of showing/hiding
  3. opacity & color of the Overlay

You added a functionality, that after a given amount of time, where no page-scroll appear and the pointer is above the map... if you scroll then again, the Warning-Layer appears. That's an awesome feature. But would be nicer if we could adjust this time for own needs... or to be able to acivate that feature after user clicked at least once at the map.

xstable commented 1 year ago

@mariusandra add this as hacktoberfest2022 issue and assign it to me, and I'll solve this.