Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants