]> git.openstreetmap.org Git - rails.git/commitdiff
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 fd86ab10c37187c96f2828ebba680d220e537359..9bdb39aae50796a7d802dbdc22a4e5bd7ca315a3 100644 (file)
@@ -73,7 +73,7 @@
         removeMarkerFromMap(marker);
       }
 
-      marker = addMarkerToMap(merc, null, "Your location");
+      marker = addMarkerToMap(lonlat, null, "Your location");
     }
   }