diff --git a/gmap_location.module b/gmap_location.module
index 1c2b99dae2bf07a59280ac593cabdf5c2e96a8c6..aad163c7a62a1cb87ea850b155df4e6ae4e5e14f 100644
--- a/gmap_location.module
+++ b/gmap_location.module
@@ -100,6 +100,7 @@ function gmap_location_user_page() {
       $newmarker['label'] = theme('gmap_location_user_html',$account);
       $newmarker['latitude'] = $u->latitude;
       $newmarker['longitude'] = $u->longitude;
+      $newmarker['link']=url('user/'.$account->uid);
       $newmarker['markername']=$marker;
       $newmarker['tooltip']=check_plain($account->name);
       $locationbyuser[$u->oid] = array('latitude' => $u->latitude, 'longitude' => $u->longitude);