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

Use _fakeStop when present instead of fakeStop for older versions of Leaflet. #249

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

seabre
Copy link

@seabre seabre commented Nov 4, 2020

Checks for presence of old _fakeStop method. If it's available, use it instead. If not, use the new fakeStop.

@seabre
Copy link
Author

seabre commented Nov 4, 2020

Just to add why this is necessary: while this library works fine on older versions of Leaflet otherwise, the call to fakeStop breaks functionality with click events and etc. The fakeStop method is the same as the _fakeStop method in previous versions, it was just renamed to fakeStop in newer Leaflet releases.

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