From: Tom Hughes Date: Fri, 9 May 2008 14:10:10 +0000 (+0000) Subject: Add the marker to the map correctly. X-Git-Tag: live~7780 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/369c81a41415654ea3dfeea9ad3e1bca007960e7?ds=sidebyside Add the marker to the map correctly. --- diff --git a/app/views/diary_entry/new.rhtml b/app/views/diary_entry/new.rhtml index 6c40eaeb5..0a5203a66 100644 --- a/app/views/diary_entry/new.rhtml +++ b/app/views/diary_entry/new.rhtml @@ -66,7 +66,7 @@ removeMarkerFromMap(marker); } - marker = addMarkerToMap(merc, null, "Diary entry location"); + marker = addMarkerToMap(lonlat, null, "Diary entry location"); } function openMap() {