Hey there,

I've been using this nice module for quite a while and ever since I've been wondering why it not possible to zoom the map using the mouse wheel. I think many people are used to this way of navigating throug google maps. Can I somehow enable it?

Regards,
Daniel

Comments

daniel wentsch’s picture

Issue tags: +zoom, +google maps, +mouse wheel

Update: okay, just found out how to enable mouse wheel scrolling:
in gmaplocation.js I just added the required setting enableScrollWheelZoom() after line 16:

Drupal.settings.gmaplocation.map.enableScrollWheelZoom();

Any chance this will go into a next release?

daniel wentsch’s picture

For anybody who also needs mouse wheel scrolling but doens't want to hack the module itself:
You can put that line into some custom JavaScript of your theme as well and achieve the same effect. This way updates won't interfere with your changes.