Use the right variable for the marker position.
authorTom Hughes <tom@compton.nu>
Sat, 19 Apr 2008 14:29:18 +0000 (14:29 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 19 Apr 2008 14:29:18 +0000 (14:29 +0000)
app/views/user/_friend_map.rhtml

index fd86ab1..9bdb39a 100644 (file)
@@ -73,7 +73,7 @@
         removeMarkerFromMap(marker);
       }
 
-      marker = addMarkerToMap(merc, null, "Your location");
+      marker = addMarkerToMap(lonlat, null, "Your location");
     }
   }