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

Feature/limitSliders Labels #212

Open
billyz313 opened this issue Sep 17, 2021 · 0 comments
Open

Feature/limitSliders Labels #212

billyz313 opened this issue Sep 17, 2021 · 0 comments

Comments

@billyz313
Copy link

billyz313 commented Sep 17, 2021

This is a request for the limitSliders to have some type of label while dragging that displays the current date they are on to give the user context to where they are setting the date range. Currently I am adding a mouseup and touchend listener to .knob.lower and .knob.upper and manually updating a date range display. This is not the best approach because it only updates the date when the user drops the knob, it would be best if we could update it as the user slides it. I had tried adding a mousedown/mousemove event and updating, but map.timeDimension._lowerLimit and map.timeDimension._upperLimit only update on the final drop. Is there some property i can access to find the value the knob is over while it is being dragged so i can update in real time?

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

No branches or pull requests

1 participant