Permalink
Browse files

Move the note popups up slightly

The default position makes it hard to grab the marker and move it
when adding a note, so move themm up a few pixels.
  • Loading branch information...
1 parent 7f83692 commit ae48206d2ce79f2bc8ba3507549ac2ddab0b291b @tomhughes committed Feb 3, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/assets/javascripts/index/notes.js.erb
@@ -110,6 +110,7 @@ $(document).ready(function () {
minWidth: 320,
maxWidth: mapSize.y * 1 / 3,
maxHeight: mapSize.y * 2 / 3,
+ offset: new L.Point(0, -3),
autoPanPadding: new L.Point(60, 40)
};
}

0 comments on commit ae48206

Please sign in to comment.