Description
When the user click on the timeline and a guide layer is active, the cursor will go to the nearest data available. But if the nearest data is out of the current time view range, the effect is that the cursor goes out of the viewport, and the user can not see anything.
The timeline should instead move the view range to center the cursor, if it is out of the current view range. This should not happen if it is in the view range, or if the animation is active and the follow function is disabled.
This should happen also if the user changes the time using the time controls (changing date, month, year, hour, minute, second from the input box).
In case of Bug (otherwise remove this paragraph)
Browser Affected
any
- Indicate the browser version in which the issue has been found
Steps to reproduce
- Open a map with a time layer, with one guide layer active
- Zoom to an area where there is no data
- Click on the map
Expected Result
- The user see the current time selected
Current Result
- The user can not see the cursor because it is out of timeline's view range.
Description
When the user click on the timeline and a guide layer is active, the cursor will go to the nearest data available. But if the nearest data is out of the current time view range, the effect is that the cursor goes out of the viewport, and the user can not see anything.
The timeline should instead move the view range to center the cursor, if it is out of the current view range. This should not happen if it is in the view range, or if the animation is active and the follow function is disabled.
This should happen also if the user changes the time using the time controls (changing date, month, year, hour, minute, second from the input box).
In case of Bug (otherwise remove this paragraph)
Browser Affected
any
Steps to reproduce
Expected Result
Current Result