Index: gmaplocation.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/gmaplocation/gmaplocation.module,v retrieving revision 1.1.6.19 diff -u -r1.1.6.19 gmaplocation.module --- gmaplocation.module 28 Jul 2009 02:06:50 -0000 1.1.6.19 +++ gmaplocation.module 7 Nov 2009 23:26:11 -0000 @@ -92,6 +92,20 @@ '#description' => NULL, '#options' => $zoom_levels, ); + $form['info']['gmaplocation_width'] = array('#type' => 'textfield', + '#title' => t('Map Width'), + '#default_value' => variable_get('gmaplocation_width', '300'), + '#field_suffix' => 'px', + '#description' => NULL, + '#size' => 10, + ); + $form['info']['gmaplocation_height'] = array('#type' => 'textfield', + '#title' => t('Map Height'), + '#default_value' => variable_get('gmaplocation_height', '500'), + '#field_suffix' => 'px', + '#description' => NULL, + '#size' => 10, + ); $form['info']['latlng'] = array( '#type' => 'fieldset', '#title' => t('Geographical coordinates'), @@ -346,7 +360,9 @@ * @ingroup themeable */ function theme_gmaplocation_map() { - return ('
'); + $width = variable_get('gmaplocation_width', '500') . 'px'; + $height = variable_get('gmaplocation_height', '300') . 'px'; + return ('
'); } /**