Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit ae48206d2ce79f2bc8ba3507549ac2ddab0b291b 1 parent 7f83692
@tomhughes authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  app/assets/javascripts/index/notes.js.erb
View
1  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)
};
}
Please sign in to comment.
Something went wrong with that request. Please try again.