--- C:\Documents and Settings\w.ketelaar\Bureaublad\google_earth\google_earth.module Tue Feb 20 01:12:23 2007 +++ C:\projects\php\BSG\sites\all\modules\google_earth\google_earth.module Tue Feb 20 17:19:54 2007 @@ -114,6 +114,8 @@ $google_earth_kml_path = variable_get("google_earth_kml_path", ''); $google_earth_title = variable_get("google_earth_title", ''); $google_earth_limit_time = variable_get("google_earth_limit_time", ''); + $google_earth_icon_scale = variable_get("google_earth_icon_scale", ''); + $google_earth_label_scale = variable_get("google_earth_label_scale", ''); $google_earth_dns = variable_get("google_earth_dns", ''); $google_earth_hide_unresolved = variable_get("google_earth_hide_unresolved", ''); $google_earth_geoapi_image_path = variable_get("google_earth_geoapi_image_path", ''); @@ -193,7 +195,6 @@ "; for ($i=0;$i1 @@ -357,6 +358,15 @@ '#default_value' => variable_get('google_earth_icon_scale', 10), '#options' => $scale, '#description' => t('Set the icon scale'), + '#multiple' => FALSE, + '#required' => TRUE, + ); + $form[$group]['google_earth_label_scale'] = array( + '#type' => 'select', + '#title' => t('Label scale'), + '#default_value' => variable_get('google_earth_label_scale', 10), + '#options' => $scale, + '#description' => t('Set the label scale'), '#multiple' => FALSE, '#required' => TRUE, );