Skip to content

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