diff -r openlayers_proximity/openlayers_proximity.module
--- openlayers_proximity/openlayers_proximity.module	Wed Mar 02 12:38:28 2011 -0500
+++ openlayers_proximity/openlayers_proximity.module	Thu Mar 03 11:50:15 2011 -0500
@@ -140,12 +140,26 @@
     '#default_value' => variable_get('openlayers_proximity_unit', OPENLAYERS_PROXIMITY_DEFAULT_UNIT),
     '#description' => t('Select site wide unit of measurement.'),
   );
-  
+
   $form['rebuild'] = array(
     '#type' => 'checkbox', 
     '#title' => t('Rebuild Index'),
     '#description' => t('Check and save configuration to rebuild proximity index.'),
   );
+
+  $form['advanced_options'] = array(
+    '#type' => 'fieldset',
+    '#collapsible' => TRUE,
+    '#collapsed' => TRUE,
+    '#title' => t('Advanced Options')
+  );
+
+  $form['advanced_options']['openlayers_proximity_google_geocoder_url'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Geocoder Address'),
+    '#description' => t('Enter an address for a geocoding service that returns the same as Google Geocoder. This is useful if you wish to set up your own cache of geocoder results. This should be a fully-formed url and should end with a ? as query parameters will be appended to it.'),
+    '#default_value' => variable_get('openlayers_proximity_google_geocoder_url', OPENLAYERS_PROXIMITY_GOOGLE_GEOCODER_URL)
+  );
   
   $form['#submit'][] = 'openlayers_proximity_settings_submit';
   $form = system_settings_form($form);
@@ -365,16 +379,17 @@
   $args['oe'] = 'utf-8';
   $args['sensor'] = 'false';
   $query = http_build_query($args, '', '&');
+  $geocoder_url = variable_get('openlayers_proximity_google_geocoder_url', OPENLAYERS_PROXIMITY_GOOGLE_GEOCODER_URL);
   
   if (function_exists("curl_init")) {
     $ch = curl_init();
-    curl_setopt($ch, CURLOPT_URL, OPENLAYERS_PROXIMITY_GOOGLE_GEOCODER_URL . $query);
+    curl_setopt($ch, CURLOPT_URL, $geocoder_url . $query);
     curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
     $result = curl_exec($ch);
     curl_close($ch);  
   }
   else {
-    $result = file_get_contents(OPENLAYERS_PROXIMITY_GOOGLE_GEOCODER_URL . $query);
+    $result = file_get_contents($geocoder_url . $query);
   }
   
   $response = json_decode($result);
