if (isset($map['behavior']['locpick']) && $map['behavior']['locpick']) {
drupal_add_js($path .'locpick.js');
}
- if (variable_get('gmap_load_zoom_plugin', TRUE) && !$map['behavior']['nomousezoom']) {
+ if (variable_get('gmap_load_zoom_plugin', FALSE) && !$map['behavior']['nomousezoom']) {
drupal_add_js(drupal_get_path('module', 'gmap') .'/thirdparty/mousewheel.js');
}
if (!empty($map['markers']) || !empty($map['lines'])) {
$form['initialization']['gmap_load_zoom_plugin'] = array(
'#type' => 'checkbox',
'#title' => t('Enable mousewheel zooming'),
- '#default_value' => variable_get('gmap_load_zoom_plugin', TRUE),
+ '#default_value' => variable_get('gmap_load_zoom_plugin', FALSE),
'#description' => t('Enables the mousewheel.js jQuery plugin, which adds the ability to use the mouse wheel to zoom the map.'),
);
if (!file_exists(drupal_get_path('module', 'gmap') .'/thirdparty/mousewheel.js')) {