Closed (fixed)
Project:
GMap Blocks
Version:
6.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2010 at 16:49 UTC
Updated:
15 May 2010 at 12:10 UTC
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
Comment #1
skilip commented