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

Allow usage of arrows to select data in WMTS viewer #278

Open
clausmichele opened this issue Sep 16, 2022 · 3 comments · May be fixed by #279
Open

Allow usage of arrows to select data in WMTS viewer #278

clausmichele opened this issue Sep 16, 2022 · 3 comments · May be fixed by #279
Labels
Milestone

Comments

@clausmichele
Copy link
Member

I find the WMTS viewer really useful if I don't know exactly if there is data covering the area I'm interested in. However, it is quite difficult to navigate in time, since I can just use the mouse to change the selected date. Would it be possible to allow the usage of keyboard arrows to do +- 1 day in the selected date?

image

@m-mohr
Copy link
Member

m-mohr commented Sep 16, 2022

Yeah, that time slider is really painful to navigate but it's the only one available right now. The idea with arrows is nice, but I think it would need to be implemented upstream in ol-ext: https://github.com/Viglino/ol-ext
The alternative would be to use another component for date selection. I've recently made it easier to add other components to the map, so we could also think about a date selector like in forms or so.

@christophfriedrich
Copy link
Collaborator

I don't know those components, but if it's the Timeline class, I've seen that it does have a setDate function (docs), so it should be possible for the Editor to listen for keystrokes and issue function calls accordingly 🤔

@m-mohr
Copy link
Member

m-mohr commented Sep 16, 2022

PRs are welcome :-P

@m-mohr m-mohr added the enhancement New feature or request label Sep 27, 2022
@m-mohr m-mohr added this to the v0.12 milestone Sep 27, 2022
@m-mohr m-mohr linked a pull request Oct 12, 2022 that will close this issue
@m-mohr m-mohr modified the milestones: v0.12, v0.13 Dec 8, 2022
@m-mohr m-mohr modified the milestones: v0.13, v0.14 Jul 11, 2024
@m-mohr m-mohr modified the milestones: v0.14, v0.15 Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants