Allow zooming only with scroll in google maps -


since few days our users can zoom when hit "ctrl" key while scrolling doesn't make sense in our applications.

is there way allow zooming scrolling (as before) in google maps?

i've seen "ctrl + scroll" force in google maps api reference (screenshot).

screenshot google maps javascript api reference shows new message

add gesturehandling: 'greedy' map options during instantiation.

e.g:

var map = new google.maps.map(document.getelementbyid('map'), {     center: {0, 0},     zoom: 8,     gesturehandling: 'greedy'   }); } 

Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -