JocelynDelalande / wifi-with-me

MOVED →
https://code.ffdn.org/ffdn/wifi-with-me
Do What The F*ck You Want To Public License
3 stars 8 forks source link

zoom maps with mouse wheel #20

Closed JocelynDelalande closed 8 years ago

opi commented 9 years ago

Not really kind of zooming map with mouse wheel, because if we enable this feature, we cannot scroll down the page while beeing over the map. On desktop it could be ok, but not on a mobile/tablet experience.

That's really my feeling, and changing this behavior is no more complicated than setting scrollWheelZoom to true in https://github.com/JocelynDelalande/wifi-with-me/blob/master/assets/map.js#L29

kheops2713 commented 9 years ago

Agreed with @opi : I find it annoying when a page stops scrolling because my pointer suddenly fell onto the map that has wheelzoom.

JocelynDelalande commented 9 years ago

Agreed with @opi : I find it annoying when a page stops scrolling because my pointer suddenly fell onto the map that has wheelzoom.

At least on the big map, which you don't have to scroll ()

On desktop it could be ok, but not on a mobile/tablet experience.

I was told that by a coleague of mine the same.

Something I don't get : are not scroll and zoom (pinch) different events on mobile ?

bikepunk commented 8 years ago

https://code.ffdn.org/FFDN/wifi-with-me/issues/17