AnsweredAssumed Answered

Unintentional zooming with scroll wheel in embedded map

Question asked by JESUSViNYL on Aug 31, 2018
Latest reply on Aug 31, 2018 by rscheitlin

Hi all,

 

I'm developing a map which is embedded in a scrollable page. The users do sometimes unintentionally zoom in the map while scrolling the page (by using the mouse scroll wheel, that is). I'm trying to sort out which capabilities I have to circumvent this behaviour, and would like your input.

 

  1. Is it possible to somehow customize another hotkey combination to zooming, e.g. by combining shift+scroll wheel to zoom?
  2. I thought of disabling the scroll wheel navigation on map load, and when actually clicking or interacting with the map, the scroll wheel would be activated permanently. This would at least avoid scrolling initially but not after the first map interaction.

 

Any suggestions to this issue would be highly appreciated.

 

JS API 3.x

 

Best

Jesper

Outcomes