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

L.Control.Zoomslider.js : update _onSliderClick() function #56

Merged
merged 1 commit into from
Oct 31, 2013
Merged

L.Control.Zoomslider.js : update _onSliderClick() function #56

merged 1 commit into from
Oct 31, 2013

Conversation

freepius
Copy link
Contributor

@freepius freepius commented Sep 7, 2013

The current code of _onSliderClick() function doesn't work with Leaflet 6.4 (because getMousePosition() needs a container as 2nd parameter).

My correction does the job with Leaflet 6.2 to 6.4 and 7.0-dev (master) !

Best use of L.DomEvent.getMousePosition() function.
@mattiasb
Copy link
Contributor

mattiasb commented Sep 7, 2013

This looks good. I need to test this before applying though. So hopefully tomorrow. Please ping me if I seem to forget.
Thanks for the patch!

@freepius
Copy link
Contributor Author

freepius commented Sep 9, 2013

Don't forget the patch please :-) !

@freepius
Copy link
Contributor Author

Ooo! You forget me... I'm so sad :-)

@mattiasb
Copy link
Contributor

I haven't forgotten about you btw. Some personal stuff has come in the way and I want to test this on the IE's and FF before applying. Plus look at the relevant Leaflet code.

@danimt
Copy link

danimt commented Sep 27, 2013

The patch works on Chrome 29, Internet Explorer 10, Firefox 23 & 24

mattiasb added a commit that referenced this pull request Oct 31, 2013
L.Control.Zoomslider.js : update _onSliderClick() function
@mattiasb mattiasb merged commit 36de01b into kartena:master Oct 31, 2013
@mattiasb
Copy link
Contributor

Just tested this, and it seems to work fine. Sorry for the delay.

@freepius freepius deleted the patch-1 branch November 30, 2013 14:42
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.

3 participants