--- includes/layer_types/google.inc	2010-11-10 12:48:55.031485000 -0500
+++ includes/layer_types/googleNew.inc	2010-11-10 13:26:13.702144000 -0500
@@ -58,7 +58,7 @@ class openlayers_layer_type_google exten
         '#description' => t('Satellite and hybrid maps are occasionally
           unavailable at higher zoom levels.'),
         '#default_value' => isset($this->data['numZoomLevels']) ?
-          $this->data['numZoomLevels'] : '15'
+          $this->data['numZoomLevels'] : '20'
       ),
     );
   }
@@ -68,13 +68,6 @@ class openlayers_layer_type_google exten
    */
   function settings_form() {
     return array(
-      'openlayers_layers_google_api' => array(
-        '#type' => 'textfield',
-        '#title' => t('Google API Key'),
-        '#default_value' => variable_get('openlayers_layers_google_api', ''),
-        '#description' => t('<a href="@google">Obtain an API key from Google for your domain</a>',
-          array('@google' => 'http://code.google.com/apis/maps/signup.html'))
-      ),
       'openlayers_layers_google_language' => array(
         '#type' => 'textfield',
         '#title' => t('Language'),
@@ -101,14 +94,11 @@ class openlayers_layer_type_google exten
       // Check for language.
       $lang = variable_get('openlayers_layers_google_language', '');
       if (!empty($lang)) {
-        $lang = '&hl=' . $lang;
+        $lang = '&language=' . $lang;
       }
       $url = check_url(
-        'http://maps.google.com/maps?file=api&v=2' .
-        $lang . '&sensor=false&key=' . 
-        variable_get('openlayers_layers_google_api', 
-          variable_get('googlemap_api_key', '')
-        )
+        'http://maps.google.com/maps/api/js?sensor=false' .
+        $lang
       );
       
       // Include files.
