X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0b993e5ce063b1562b97da43f0564db914e94741..ae48206d2ce79f2bc8ba3507549ac2ddab0b291b:/app/assets/javascripts/index/notes.js.erb diff --git a/app/assets/javascripts/index/notes.js.erb b/app/assets/javascripts/index/notes.js.erb index 4e9b50254..c02c633dc 100644 --- a/app/assets/javascripts/index/notes.js.erb +++ b/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) }; }