Skip to content

Conversation

albburtsev
Copy link
Contributor

Fixes Issue described in #1588.

By analogy with options paddingTopLeft/paddingBottomRight of fitBounds() method, the Popup options autoPanPaddingTopLeft/autoPanPaddingBottomRight was added. Usage autoPanPadding options as a Bounds type is impossible. Also, autoPanPadding influence for calculating dX/dY was fixed, even when popup fully visible in viewport.

@mourner
Copy link
Member

mourner commented Aug 25, 2013

Looks good, I think I'll merge this once I'm back from vacation next week.

mourner added a commit that referenced this pull request Aug 27, 2013
Adds Popup autoPanPadding(TopLeft & BottomRight) options. Fixes #1588
@mourner mourner merged commit b0699b1 into Leaflet:master Aug 27, 2013
n0nick added a commit to n0nick/Leaflet that referenced this pull request Sep 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants