Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Take into account global offsets of corners #3 #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fab-girard
Copy link
Contributor

As I've asked in #3 issue, it would be better if ControlledBounds takes into account other controls added for instance by other leaflet plugin (I've checked with plugin leaflet-sidebar.
With my modifications, plugin doesn't use anymore size of the map but offsets of corners. Now Leaflet.ControlledBounds is compatible with leaflet-sidebar and I think all controls added by others.

Fabien

@fab-girard
Copy link
Contributor Author

Hello,
is there a chance my branch be merged with master project ?
I think my modifications improve the plugin to be more compliant with other plugins.

Fabien

@frodrigo
Copy link

Pull request update

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