--- location.inc.ORIGINAL	2009-01-10 04:34:39.000000000 +1100
+++ location.inc	2009-03-13 12:36:45.000000000 +1100
@@ -36,7 +36,7 @@ include_once drupal_get_path('module', '
  *
  * @ingroup Location
  */
-function location_map_link($location = array(), $link_text = 'See map: ') {
+function location_map_link($location = array(), $link_text = 'See map: ', $link_attributes = '') {
   if (!isset($location['country']) && $location['country'] != 'xx') {
     return '';
   }
@@ -53,7 +53,7 @@ function location_map_link($location = a
     $link_func = 'location_map_link_'. $location['country'] .'_'. $mapper;
     if (function_exists($link_func)) {
       if ($link = $link_func($location)) {
-        $links[] = '<a href="'. $link .'">'. $providers[$mapper]['name'] .'</a>';
+        $links[] = '<a href="'. $link .'" '. $link_attributes .'>'. $providers[$mapper]['name'] .'</a>';
       }
     }
   }
