This hack adds the option to disable the mouse wheel zoom in/out when mouse is over the map.

gmap_blocks.admin.inc

line 54 insert

	  'scrollwheel' => FALSE,

line 178 insert:

$form['controls']['control_set']['scrollwheel'] = array(
    '#type' => 'radios',
    '#title' => t('Scroll wheel zoom'),
    '#options' => array(
      t('Disabled'),
      t('Enabled'),
    ),
    '#default_value' => (integer) $edit['settings']['scrollwheel'],
    '#description' => t('Allow the mouse wheel to zoom.'),
  );

line 557 insert

   'scrollwheel' =>  (bool) $form_state['values']['scrollwheel'],

sorry could'nt create a patch file, if anybody can please do...

Comments

skilip’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.