From: Tom Hughes Date: Sat, 19 Apr 2008 14:29:18 +0000 (+0000) Subject: Use the right variable for the marker position. X-Git-Tag: live~7907 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/9b04cebf3cb9190cb46996b100a4dc3659638210?ds=sidebyside Use the right variable for the marker position. --- diff --git a/app/views/user/_friend_map.rhtml b/app/views/user/_friend_map.rhtml index fd86ab10c..9bdb39aae 100644 --- a/app/views/user/_friend_map.rhtml +++ b/app/views/user/_friend_map.rhtml @@ -73,7 +73,7 @@ removeMarkerFromMap(marker); } - marker = addMarkerToMap(merc, null, "Your location"); + marker = addMarkerToMap(lonlat, null, "Your location"); } }