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

timeline crashes with time intervals under certain conditions #9154

Closed
1 task done
offtherailz opened this issue May 11, 2023 · 0 comments · Fixed by #9155
Closed
1 task done

timeline crashes with time intervals under certain conditions #9154

offtherailz opened this issue May 11, 2023 · 0 comments · Fixed by #9155

Comments

@offtherailz
Copy link
Member

Description

Given you set the time line to range mode and you have a guide layer with a few data, when you try to expand the timeline, it crashes.
This because the function that calculates the time range data do not take in consideration the case when getDomainValues returns a intervals ( e.g. 2021-01-01T00:00:00.000Z/2021-12-31T11:27:21.389Z )

How to reproduce

  • Import the attached map or open the linked map (created by adding a layer with time intervals and setting timeline to range )
  • expand the timeline

See this map for testing (attached as JSON)
https://dev-mapstore.geosolutionsgroup.com/mapstore/#/viewer/44007

Expected Result

  • Timeline shows in the saved interval

Current Result

  • The map crashes

  • Not browser related

Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

map.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants