Index: gmap.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/gmap/gmap.module,v retrieving revision 1.92 diff -u -r1.92 gmap.module --- gmap.module 5 Dec 2008 17:35:51 -0000 1.92 +++ gmap.module 29 Dec 2008 00:17:58 -0000 @@ -486,7 +486,7 @@ file_check_directory($jspath, FILE_CREATE_DIRECTORY); $contents .= "// GMap marker image data.\n"; - $contents .= "Drupal.gmap.iconpath = ". drupal_to_js(base_path() . drupal_get_path('module', 'gmap') .'/markers') .";\n"; + $contents .= "Drupal.gmap.iconpath = ". drupal_to_js(base_path() . variable_get('gmap_markerfiles', drupal_get_path('module', 'gmap') .'/markers')) .";\n"; $contents .= "Drupal.gmap.icondata = ". drupal_to_js(gmap_get_icondata()) .";\n"; file_save_data($contents, "$jspath/gmap_markers.js", FILE_EXISTS_REPLACE);