From: Tom Hughes Date: Sun, 14 Aug 2011 16:21:20 +0000 (+0100) Subject: Turn on the note layer when adding a note X-Git-Tag: live~5104^2~133 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/0e7324839b2f1cd6a2d07be073ae14dfbf611beb Turn on the note layer when adding a note --- diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index fc9435b09..6412962ad 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -285,6 +285,7 @@ end } function addNote() { + map.noteLayer.setVisibility(true); map.noteLayer.addNote(map.getCenter()); }